PHPnews.io

Overview for 'colinodell'

Five Lesser-Known Features of PHP 7

Written by colinodell.com - Blog / Original link on Dec. 2, 2015

With the imminent release of PHP 7 on the horizon, I thought it would be cool to check out some of the lesser-known features coming with the 7.0.0 release: 1. Array constants in define() PHP 5.6 added the ability to define array constants on classes by using the const keyword: const LUCKY_NUMBERS =…