Back to Home

PHP Digest No. 59 - Interesting news, materials and tools (March 16 - 29, 2015) / Zfort Group blog

digest · news · selection · links · web development · PHP · RFC · PHP 7 · CakePHP 3 · Laravel · Symfony 2 · Yii 2 · HHVM · Async PHP

PHP Digest No. 59 - interesting news, materials and tools (March 16 - 29, 2015)



    We bring to your attention the next selection with links to news and materials.

    Enjoy reading!


    News and Releases




    Php


    • Scalar Type Hints - The proposal for scalar type hinting in the version by Anthony Ferrara was accepted with a result of 108: 48. This was also facilitated by a conciliation post from Zeev Surasky . The respective branch has smerzhena in PHP 7 , which means that we are waiting for an opportunity to explicitly define scalar types int, float, stringand boolfor the arguments of functions and values: function foo(int $abc): int. And of course, a strict typing mode has been added: declare(strict_types=1)in which a mismatch of the type of the transmitted or returned value will lead to an error. Support for type checking mode will be added, including for extensions and built-in functions of PHP.
    • RFC: Anonymous Classes - Proposal accepted, anonymous classes will be available as early as PHP 7.
    • RFC: Generator Return Expressions - Support returnfor generators - accepted.
    • RFC: Generator Delegation - The delegation of operations by generators to Traversable objects and arrays is accepted.
    • RFC: Reclassify E_STRICT notices - Remove error class E_STRICT - accepted.
    • RFC: Easy User-land CSPRNG - Add a simple cryptographically robust pseudo random number generator in the form of functions random_bytes(int length)and random_int(int min, int max)- accepted.
    • PHP 7 Feature Freeze - Overview of already accepted and voting proposals. According to the schedule , proposals for new features for PHP 7 will no longer be accepted.


    Instruments




    Learning Materials




    Entertaining




    Thanks for attention!
    If you notice a mistake or inaccuracy - please inform me in PM .
    Thank you for the photo Leszek Krupiński .

    Send links to interesting articles or useful tools that were not in the PHP Digests , and your name will be next to the link in the release.

    Send link
    Quick search for all digests
    Previous issue

    Read Next