Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time

autoscale: true build-lists: true theme: Sketchnote, 2

[fit] The Latest in PHP

[fit] April 2018 Edition

Presented by

Chris Gmyr


PHP Releases


  • 5.6.35, 7.0.29, 7.1.16, 7.2.4
  • All bug fixes



  • Accepted
  • Arrays starting with a negative index (8.0)
  • Implemented
  • is_countable (7.3)

Negative indexed arrays (current)

$a = array_fill(-2, 3, true);

array(3) {

Negative indexed arrays (new)

$a = array_fill(-2, 3, true);

array(3) {

Is Countable

// before 
if (is_array($foo) || $foo instanceof Countable) {
    return count($foo);

// after
if (is_countable($foo)) {
    return count($foo);


Latest: 7.1.2, 6.5.8

PHPUnit 5 has reached its End of Life on February 2, 2018 and no longer receives bug fixes


Framework: Laravel


  • Better support for signed routes
  • Added callback support to optional() helper
  • Added @elseauth and @elseguest Blade directives
  • Added view:cache command
  • Replaced Blade's or operator with null-coalescing operator
  • Added SessionGuard::logoutOtherDevices() method
  • Security: Check iv length in Encrypter::validPayload() (5.5.40 also)

Framework: Symfony

2.7.x, 2.8.x, 3.4.x, 4.0.x

  • Bug Fixes

CMS: Drupal

7.58, 8.3.9, 8.4.6, 8.5.1

highly critical security vulnerabilities

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack vectors on a Drupal site, which could result in the site being completely compromised.

CMS: Wordpress


  • Don't treat localhost as same host by default.
  • Use safe redirects when redirecting the login page if SSL is forced.
  • Make sure the version string is correctly escaped for use in generator tags.
  • Improved compatibility with PHP 7.2.



  • Refactor your code to functional style
  • Creating class from test
  • Codeception: code coverage
  • Updated HTTP Client



  • Syntax aware code folding
  • Convert to ES6 refactoring
  • Better large file support
  • Organize JS/TS imports
  • Emmet performance and smart matching improvements

PHP Conferences - April

DrupalCon Nashville April 9–13, Nashville, TN

Longhorn PHP Conference April 19–21, Austin, TX

PHP Conferences - May

PHP Serbia Conference May 25–27, Belgrade, Serbia

php[tek] May 29–June 1, Atlanta, GA

Nomad PHP

April 19

US How to Use Generators to Beat Memory Bloat By Korvin Szanto

Europe Mining Your Code for Efficient Documentation By Damien Seguy

Open Call for Papers

All Things Open Oct 23-24, Raleigh, NC CFP Ends: April 24

Texas Camp May 31–June 2, Austin, TX CFP Ends: April 19

Upcoming regional events

April 28-29 - WordCamp Raleigh

Aug 16-17 - Southeast PHP (Nashville, TN)

Oct 7-8 - NCDevCon

Oct 23-24 - All Things Open

Notable News & Articles

Next Month @ TrianglePHP

TDB Presented By YOU?!?!

Thursday, May 17 6pm Atlantic BT

Consider "Chipping In"

Have a Job/Need a Job

Who's hiring? Who's looking? What are you looking for?

Tonight @ TrianglePHP

A look at Gutenberg in Wordpress 5.0

Presented By - Miles Elliot

Thank you to Atlantic BT for hosting and refreshments!