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

Latest in PHP - October 2017 Edition

Latest in PHP - October 2017 Edition

Chris Deaton

October 19, 2017
Tweet

More Decks by Chris Deaton

Other Decks in Programming

Transcript

  1. PHP Releases PHP 7.2 Due in November • Argon2 Password

    Hash • Libsodium a core extension • Object typehint (use object as param, return type) • object becomes a keyword (soft-reserved since 7.0) function foo(object $anObject): object { return new stdClass(); } foo('how about a string?') // TypeError: Argument 1 passed to foo() must be an object...
  2. PHP Releases • 5.6.31 (as of 06 Jul 17) •

    7.1.10 (as of 28 Sep 17) Links: • http:/ /php.net/ChangeLog-5.php • http:/ /php.net/ChangeLog-7.php
  3. PHP RFCs • Pending Implementation • Same-site cookie • In

    Voting • Implement missing SQLite feature "openBlob" in PDO • JSON_THROW_ON_ERROR OTHER_STATUSES Links: • https:/ /wiki.php.net/rfc • https:/ /twitter.com/phprfcbot • https:/ /php-rfc-watch.beberlei.de/
  4. PHPUnit • 6.4.3 (15 Oct 17) Links: • https:/ /github.com/sebastianbergmann/phpunit/wiki

    • https:/ /github.com/sebastianbergmann/phpunit/blob/master/ ChangeLog-6.4.md
  5. Framework: Laravel • 5.4.22 - Security patch addressing phishing vulnerability

    with password resets Links: • https:/ /github.com/laravel/framework/releases • https:/ /laravel-news.com/category/news
  6. Framework: VueJS • Unit Testing Library now available https:/ /laravel-news.com/vue-js-unit-testing-utils

    import { mount } from 'vue-test-utils' import Counter from './counter' describe('Counter', () => { // Now mount the component, and you have the wrapper. const wrapper = mount(Counter) it('renders the correct markup', () => { expect(wrapper.html()).toContain('<span class="count">0</span>') }) // It's also easy to check for the existence of elements. it('has a button', () => { expect(wrapper.contains('button')).toBe(true) }) }) https:/ /vue-test-utils.vuejs.org/en/
  7. CMS: Drupal 8.4.0 • Discontinues support for IE 9, 10.

    • Includes Symfony 3.2, jQuery 3 • Drush users - update to 8.1.12 or higher before updating Drupal 8.4.x Links: • https:/ /www.drupal.org/project/drupal/releases
  8. CMS: Wordpress Wordpress 4.9 Beta 3 is available. • 19

    Sept 17 - Security and maintenance release • No word from Mullenweg on what the next JS library will be Links: • https:/ /wordpress.org/news/
  9. IDE: PHPStorm 2017.3 EAP • Vue.JS now bundled in PhpStorm

    • Twig formatting, indentation • Test method generation • REST client adds support for environment variables defined in rest- client.env.json Links: • https:/ /blog.jetbrains.com/phpstorm/
  10. IDE: PHPStorm { "dev": { "host": "localhost", "id-value": 12345 },

    "prod": { "host": "example.com", "id-value": 6789 } }
  11. PHP Conferences - Oct 2017 All Things Open Oct 24-25,

    Raleigh https:/ /allthingsopen.org/
  12. Nomad PHP US Machine Learning Circa Minority Report By Kesha

    Williams Europe Iterators and Generators By Eli White https:/ /nomadphp.com/
  13. Notable News & Articles • https:/ /deliciousbrains.com/xampp-mamp-local-dev/ - Comparison guide

    to local dev environments • https:/ /medium.com/@koyaan5/diving-into-api-platform-3d4d856f4adb - Diving into API Platform • https:/ /bitpress.io/simple-approach-using-docker-with-php/ - Simple Approach to Using Docker and PHP • http:/ /hhvm.com/blog/2017/09/18/the-future-of-hhvm.html - The future of HHVM • https:/ /jenssegers.com/85/goodbye-controllers-hello-request-handlers - Goodbye Controllers, Hello Request Handlers https:/ /blog.jetbrains.com/phpstorm/2017/10/php-annotated-monthly-october-2017/
  14. Next Month @ TrianglePHP FilterEasy - New System Architecture Presented

    By Daniel Milburn, James Fredley Thursday, Nov 16 6pm FilterEasy https:/ /www.meetup.com/trianglephp/events/238029325/
  15. Tonight @ TrianglePHP Tombstones, Vampires, and Discovering Dead Code Presented

    By - Chris Gmyr Thank you to Atlantic BT for hosting and refreshments!