PHP Digest # 191 (19 de octubre - 2 de noviembre de 2020)

Foto: Valery Gorbachev ( PHP Krasnodar )



Nueva selección con enlaces a noticias y materiales. En lanzamiento: PHP 8.0 RC 3 y reseñas de videos de nuevas funciones, Composer 2, finalización del desarrollo de Faker (ahora en una nueva organización), dos nuevos RFC para PHP 8.1, una porción de herramientas útiles, artículos, videos de reuniones anteriores.



¡Disfruta leyendo!





Noticias y comunicados



  • PHP 8.0 RC 3 — - . RC 4 12 26 .



    PHP 8:

  • PhpStorm 2020.3 PHP 8: #[ArrayShape], #[ExpectedValues], #[NoReturn], #[Pure], #[Deprecated], #[Immutable]. #[ArrayShape] #[Immutable] PHP.
  • PHP 7.4.12
  • PHP 7.3.24
  • Composer 2 — :

    • ;
    • ;
    • PHP ( "platform-check": false);
    • --dry-run require remove – , , ;
    • --unused remove vendor, composer.json ( purge);
    • .


    php.watch .



    , : composer self-update --2.

  • PHP FakerPR PHP 8 fzaninotto/Faker , . Francois Zaninotto , . , fakerphp/Faker, PHP 8 PHP 5.



    François Zaninotto , -, 25k+ . -, ORM Propel. , . 7 Propel 2 . -.



    François 9 Faker.

  • PHP Russia 2020 -> PHP Russia 2021 1 2021 .
  • phpcommunity.ru — PHP- , , .



    : , 4 ; , 7 ; , 14 .



PHP Internals



  • [RFC] Short Functions — RFC .

    class Person
    {
        public function __construct(
            private string $firstName,
        ) {}
        public function getFirstName(): string => $this->firstName;
    }"
    
  • [RFC] Explicit octal integer literal notation — PHP 0x, 0b. 0. , . , 016 14 "016" == 016; // false.



    0o, .
    0o16 === 14; // true
    016 === 0o16; // true
    "016" == 0o16; // false
    
  • Literal types PoC — PHP TypeScript.
    function foo(): "foo"|"bar" {
        return "foo";
    }
    


    PHP, RFC , . . .






Symfony





Laravel





Yii









/








Si nota algún error o inexactitud, háganoslo saber personalmente .

Más noticias y comentarios en el canal PHP Digest Telegram .



Enviar enlace

Buscar enlaces en todos los resúmenes

Número anterior: PHP-Digest № 190




All Articles