Fotos de Erika HeidiNueva selección con enlaces a noticias y materiales. En el tema: 3 propuestas RFC nuevas y 4 aceptadas para PHP 8, incluida la declaración de propiedades en el constructor, sobre el bloqueo de PHP-ML debido al plagio, por qué los desarrolladores odian PHP, una porción de herramientas útiles, videos y mucho más.
¡Disfruta leyendo!
 Noticias y lanzamientos
- php-ai/php-ml - — PHP RubixML PHP-ML, , . - , PHP-ML RubixML.
PHP-ML , PHP-ML GitLab gitlab.com/php-ai/php-ml.
, : PHP-ML RubixML. , – , DMCA-, , 24 .
, StackOverflow CC BY-SA 4.0. , , ? ¯\_(ツ)_/¯ - PHP – 2020.1 — , Composer packagist.org. 78% PHP, PHP 5 7%. , PHP 5, 38%.
 - PHP 7.4.6 
yield from . , . - (EAP) PhpStorm 2020.2 — - GitHub, , PHP. , EAP- .
 - PHP.
 - PHP fwdays | Speacial Edition, 6 — - fwdays : Jordi Boggiano, Sebastian Bergmann, Marco Pivetta, Nikita Popov.
15% : phpdigest_fwdays. 
 PHP Internals
 [RFC] Constructor Property Promotion — PHP 8
class Point {
    public float $x;
    public float $y;
    public float $z;
    public function __construct(
        float $x = 0.0,
        float $y = 0.0,
        float $z = 0.0,
    ) {
        $this->x = $x;
        $this->y = $y;
        $this->z = $z;
    }
}
class Point {
    public function __construct(
        public float $x = 0.0,
        public float $y = 0.0,
        public float $z = 0.0,
    ) {}
}
Hack, TypeScript, Kotlin, Scala. , PHP. :
class Foo {
    public function __construct(
        <<ExampleAttribute>>
        public int $prop,
    ) {}
}
 [RFC] Mixed Type v2 — RFC, mixed PHP 8. PHP Digest c mixed.
 [RFC] Always available JSON extension — PHP 8 JSON .
 [RFC] non-capturing catches — PHP 8 catch:
try {
    changeImportantData();
} catch (PermissionException) {
    echo "You don't have permission to do this";
}
- [RFC] Error backtraces — , PHP . . 
Error , , , Error. - [RFC] Match expression v2 — 
match, switch, .
echo match (1) {
    0 => 'Foo',
    1 => 'Bar',
    2 => 'Baz',
};
. - [RFC] Attribute Amendments — : 
<<Attr1, Attr2>>, PhpAttribute Attribute. , , //. , . , , RepeatableAttribute. 

- pestphp/pest — PHPUnit, . . facebook/jest.
 - Moxio/sqlite-extended-api — lisachenko/z-engine: API SQLite, PHP.
 - rashidlaasri/travel — Carbon, «» , ,
 - FriendsOfPHP/pickle — PECL-, Composer. , 2015 () . , .
 - webdevium/processes — . Windows/*nix.
 - dsuurlant/response2schema — OpenAPI JSON-.
 - php-casbin/php-casbin — , ACL, RBAC, ABAC.
 
 Symfony
 Laravel
 Async PHP

 /
¡Gracias por la atención!
Si nota un error o imprecisión, infórmeme en PM .
Preguntas y sugerencias escritas a mail o twitter .
Más noticias y comentarios sobre el canal de telegramas PHP Digest .
Enviar enlace
Buscar enlaces para todos los resúmenes
← Versión anterior: PHP Digest No. 180