
Nova seleção com links para notĂcias e materiais. Em: PHP 8 Beta 1, novamente sobre a sintaxe de atributo no PHP 8: #[Attr]vs @[Attr], sugestĂŁo de sintaxe para BigInt, anĂĄlises de PHP 8 e muitos mais vĂdeos, ferramentas, fluxos, podcasts.
Gostar de ler!
NotĂcias e lançamentos
- PHP 8.0.0 Beta 1 â - , 8.0 . ( ). 20 .
- PHP 7.4.9, 7.3.21, 7.2.33 â phar.
- WordPress 5.5 âEckstineâ â - , CMS .
PHP Internals
- [RFC] Shorter Attribute Syntax Change â PHP 8 . , - , 2- .
Tycon Andre ,#[Attr]PHP 7. C , , ?
@@Attr,#[Attr],<<Attr>>@[Attr]:@@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; } #[ 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; } @[ 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; } << 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; } @: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; } - [RFC] Named Parameters explicit opt in â , .
PHP 8 , 8.1, .// function callBar(Foo $:parameterName) { $internalName->bar(); } $x = new Foo(); callBar(parameterName: $x); // function callBar($externalName) { $externalName->bar(); } $x = new Foo(); callBar(externalName: $x); // Error: cannot call function callBar() using parameter $externalName by name. - [Proposal] Bigint shorthand (123n) for GMP objects â RFC.
PHP JavaScript «n»:$theBiggestInt = 9007199254740991n
GMP. GMP , , . - PHP (
php -a), PR, . bobthecow/psysh.
[RFC] PHP Namespace Policy â .
- PHPUnit 9.3 â C PHP 8 Xdebug 3.
- sebastianbergmann/cli-parser â , PHPUnit.
- coduo/php-matcher â , .
- phpfn/phpfn â SerafimArts.
- hidehalo/nanoid-php â PHP- Nanoid â URL- .
- woohoolabs/zen â PSR-11- .
- loophp/collection â .
Symfony
Laravel
- PHP Codeception.
- PHP-.
- PHP.
- Method fossilisation â .
- PHP- .
- KPHPStorm â 7 KPHP. C .
, KPHP , PhpStorm, .
github.com/unserialize/kphpstorm. - PHP â - RFC , .
Highload PHP: .
PHP 8: «» «» ( PHP 7.4)
html- php , .
php 8 JIT Docker 5
/
PHP 8: Process & fixing insanity â PHP 8 core- George Peter Banyard. , William Pinaud.
Type Juggling Magic: Why PHP thinks 0 and «password» are the same â , PHP .
Dutch PHP Conf 2020
« PHP GO» PHP Go .
PHP #82: declare(strict_types=1).
PHP #83: ?
Voices of the ElePHPant: â - PHP 8 Sara Golemon Garbriel Caruso â .
PHP Internals News #66 â PHP 8 PHP .
PHP Internals News #65 â Dan Ackroyd ?->PHP 8.
- www.elephpant.com - Elefantes azuis e rosa originais podem ser encomendados por e-mail para o designer Vincent Pontier .
Os tons de cinza e preto tambĂ©m estĂŁo disponĂveis no Symfony shop.symfony.com - agora com entrega em todo o mundo.
Obrigado pela atenção!
Se vocĂȘ notar um erro ou imprecisĂŁo, informe-nos pessoalmente .
Perguntas e sugestÔes por escrito para e - mail ou twitter .
Mais notĂcias e comentĂĄrios no canal PHP Digest Telegram .
Enviar link
Links de busca em todos os resumos
â NĂșmero anterior: PHP-Digest â 185