Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Last Month in PHP - March 2019

Last Month in PHP - March 2019

The latest releases and news in the PHP community.

John Kary

March 06, 2019
Tweet

More Decks by John Kary

Other Decks in Programming

Transcript

  1. Last Month in PHP
    March 6, 2019

    Kansas City PHP User Group
    John Kary
    @johnkary

    View Slide

  2. Releases

    View Slide

  3. 7.1.26
    7.2.15
    7.3.2
    master is 8.0-dev

    View Slide

  4. RFC: Saner string to number comparisons
    https://wiki.php.net/rfc/string_to_number_comparison

    View Slide

  5. RFC: Saner string to number comparisons
    https://wiki.php.net/rfc/string_to_number_comparison
    Operators:
    <=>
    ==
    !=
    >
    >=
    <
    <=
    When $sort_flags set to SORT_REGULAR (already default):
    sort()
    rsort()
    asort()
    arsort()
    array_multisort()

    When $strict set to false (already default):
    in_array()
    array_search()
    array_keys()

    View Slide

  6. PHPUnit 8.0
    Some API changes were tricky
    https://thephp.cc/news/2019/02/help-my-tests-stopped-working
    Changelog
    https://github.com/sebastianbergmann/phpunit/blob/8.0.0/ChangeLog-8.0.md

    View Slide

  7. Wordpress
    5.1
    Minor Release
    Site Health feature
    Outdated PHP warnings
    Plugin PHP version compatibility
    Fatal error protection (disabled)
    Metadata for Multisite
    JavaScript build pipeline
    npm install && grunt build

    View Slide

  8. Drupal
    8.6.10
    February 20, 2019
    Remote Code Execution when…
    Drupal 8 core RESTful Web Services (rest) module enabled and
    allows GET, PATCH or POST requests;
    or
    has a web services module enabled, like JSON:API in Drupal 8,
    or Services or RESTful Web Services in Drupal 7.
    https://www.drupal.org/SA-CORE-2019-003

    View Slide

  9. Symfony
    4.3 will have two new Components:
    HttpClient
    Nicer API for curl, file_get_contents()
    MIME
    Nicer API for creating emails
    https://speakerdeck.com/fabpot/2-new-symfony-
    components-httpclient-and-mime

    View Slide

  10. Laravel – 5.8 Released
    https://laravel-news.com/laravel-5-8
    • PHP dotenv
    • Carbon v2
    • Cache TTL Changes
    • Deprecated String and Array Helpers
    • Nexmo and Slack Notification Channels

    View Slide

  11. fin
    johnkary.net/talks
    @johnkary

    View Slide