
带有新闻和资料链接的新鲜选择。在发行版中:PHP 8 beta 3,PHP 8中采用了新的属性语法,Zephir包括所有有用的工具,文章,视频,播客。
享受阅读!
新闻和发布
- PHP 8 beta 3-周期中的最后一个beta。下一个版本将是RC 1,预计将于9月17日发布。
- PHP 7.4.10,PHP 7.3.22
- Zephir Phalcon — Zephir PHP- Phalcon , Zephir , Phalcon 5 PHP.
- WordPress PHP. Matt Mullenweg, PHP 5.6 . PHP ≤5.6 21.6% WP.
PHP Internals
[RFC] Shorter Attribute Syntax Change — - . #[Attribute].#[ ORM\Entity, ORM\Table("user") ] class User { #[ORM\Id, ORM\Column("integer"), ORM\GeneratedValue] private $id; #[ORM\Column("string", ORM\Column::UNIQUE)] #[Assert\Email(["message" => "The email '{{ value }}' is not a valid email."])] private $email; }
,@@AttrPR.#[ ], .
// #[ORM\Entity] #[ORM\Table("user")] // #[ ORM\Entity, ORM\Table("user") ]
.
[RFC] any() and all() on iterables — :
any(iterable $input, ?callable $callback = null): bool— , ,true.
all(...)—true,true.
:
// $satisifes_predicate = false; foreach ($item_list as $item) { if (API::satisfiesCondition($item)) { $satisfies_predicate = true; break; } } if (!$satisfies_predicate) { throw new APIException("No matches found"); } // if (!any($item_list, fn($item) => API::satisfiesCondition($item))) { throw new APIException("No matches found"); }
- Pest 0.3 — PHPUnit, . PhpStorm Pest IntelliJ.
- Codeception/Verify 2.0 — PHPUnit Codeception fluent-.
- ramsey/composer-repl —
composer replbobthecow/psysh. - brick/money — . , GMP BCMath. moneyphp/money.
- bassim/super-expressive-php — - . VerbalExpressions/PHPVerbalExpressions.
- phpsci/phpsci-carray — PHP . NumPy.
- github.com/phpwebclient — PSR-18 HTTP-.
- hamlet-framework/type — . , , cast, assert, instanceof . .
Symfony
Laravel
- laravel-orion/laravel-orion — REST API Eloquent- . @alexzarbn.
- Statamic 3 — CMS Laravel.
- Laravel-.
Legacy Laravel: .
Laravel 8 — ? — 8 .
Laravel– (24 – 6 2020)
Laravel Worldwide Meetup #2: Neo Ighodaro and Michael Dyrynda
Yii
- yiisoft/auth — Yii 3 , , PSR-15 middleware .
- yiisoft/strings — .
Async PHP
- PHP- « » — ( , ).
- : 1 — , -.
- unserialize() PHP — .
- (psalm) .
- PHP FFI.
- Xdebug + Docker + PhpStorm, .
- Anna Filina — Anna Filina PHP:
Xdebug Windows Subsystem For Linux 2 (WSL2).
PHP-.
: .
PHP.
. ? — .
Lingualeo PostgreSQL 23 — PHP . : .
20_20 — , — .
/
Tobias Nyholm async-aws/aws AWS.
IT , .
PHP内部新闻#67 - Derik Xdebug自言自语match。在帖子中阅读有关matchPHP历史的更多信息。
Podlodka#180-PHP-具有Nikita Popov和我的传奇播客Submarine的发行。
感谢您的关注!
如果您发现错误或不准确,请亲自告诉我们。
问题和建议写在邮件或推特上。
有关PHP Digest Telegram频道的更多新闻和评论。
发送
链接在所有摘要中搜索链接
←上一期:PHP-摘要#186