Nova seleção com links para notĂcias e materiais. Na edição: 4 aceitaram propostas de RFC para o PHP 8, incluindo atributos (anotaçÔes / decoradores), uma porção de ferramentas Ășteis, conferĂȘncias e reuniĂ”es on-line, vĂdeos, podcasts e muito mais.
Gostar de ler!
 NotĂcias e Lançamentos
 NotĂcias e Lançamentos
 PHP Internals
 PHP Internals
 [RFC] Attributes v2 â PHP 8 ( / ) [RFC] Attributes v2 â PHP 8 ( / )- << >>.
 
 - <<ExampleAttribute>>
class Foo
{
    <<ExampleAttribute>>
    public const FOO = 'foo';
    <<ExampleAttribute>>
    public $x;
    <<ExampleAttribute>>
    public function foo(<<ExampleAttribute>> $bar) { }
}
$object = new <<ExampleAttribute>> class () { };
<<ExampleAttribute>>
function f1() { }
$f2 = <<ExampleAttribute>> function () { };
$f3 = <<ExampleAttribute>> fn () => 1;
 
 . Benjamin Eberlei- <<Deprecated>>,- trigger_error:
 
 - <<Deprecated>>
function test() {}
<<Deprecated("use test3() instead")>>
function test2() {}
 
 [RFC] Allow trailing comma in parameter list â PHP 8 . [RFC] Allow trailing comma in parameter list â PHP 8 .
 
 - class Uri {
    private function __construct(
        ?string $scheme,
        ?string $user,
        ?string $pass,
        ?string $host,
        ?int $port,
        string $path,
        ?string $query,
        ?string $fragment, // <-- !
    ) {
        ...
    }
}
 
 [RFC] Change Default PDO Error Mode â PDO [RFC] Change Default PDO Error Mode â PDO- PDO::ERRMODE_EXCEPTIONSQL .
 [RFC] Stricter type checks for arithmetic/bitwise operators â , PHP 8 [RFC] Stricter type checks for arithmetic/bitwise operators â , PHP 8- TypeError, , .
 [RFC] Type casting in array destructuring expressions â . [RFC] Type casting in array destructuring expressions â .
- [RFC] Always available JSON extension â JSON .
- [RFC] Match expression â match, :
 
 match ($x) {
    0 => {
        foo();
        bar();
        baz();
    },
}
 
 , feature-freeze PHP 8 , RFC .

 Symfony
 Symfony
 Laravel
 Laravel
 Yii
 Yii
Async PHP

 /
 /
!
â , , .
.
Telegram- PHP Digest.
â : PHP- â 178