Last Month in PHP - March 2019

Last Month in PHP - March 2019

The latest releases and news in the PHP community.

D3e3f4ac37c02289f5dfed115949fc88?s=128

John Kary

March 06, 2019
Tweet

Transcript

  1. Last Month in PHP March 6, 2019
 Kansas City PHP

    User Group John Kary @johnkary
  2. Releases

  3. 7.1.26 7.2.15 7.3.2 master is 8.0-dev

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

  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()
  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

  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
  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
  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
  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
  11. fin johnkary.net/talks @johnkary