PHP摘要134(2018年6月24日至7月8日)


在发行版中:PHP 7.3.0 alpha 3,PHPStan 0.10,Yii 1.1.20和其他发行版,PHP Internals的最新产品,用于比较对象,一部分有用的工具等等。
祝您阅读愉快!


新闻与发布



PHP内部


  • 哈伯 PHP 8:期望什么。 Zeev Surasky的信
    PHP 7.0性能演示与针对分形生成的JIT PoC
  • [RFC]类友谊 -投票开始添加朋友类。 友好类可以访问其被声明为友好的类的私有字段和受保护字段。
  • [RFC]用户定义的对象比较 -本文档讨论了在PHP中比较对象的问题。 建议添加两个新的魔术方法: __compareTo__equals
    隐藏文字
     class Example { /** * Returns: < 0 if $this is less than $other, * > 0 if $this is greater than $other, * == 0 if $this is equal to $other. */ public function __compareTo($other): int { ... } /** * @returns bool TRUE if $this is equal to $other, FALSE otherwise. */ public function __equals($other): bool { ... } } 
  • dstogov / php-tensorflow-由于FFI的实现,将有可能为第三方库制作轻量级的绑定器。 例如,Dmitry Stogov演示了TensorFlow的包装器。


工具




学习资料




音视频




娱乐性




感谢您的关注!

如果您发现错误或不准确,请在PM中通知我。
问题和建议写在邮件推特上

发送链接
搜索所有摘要的链接
先前版本:PHP文摘133

Source: https://habr.com/ru/post/zh-CN416543/


All Articles