Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  New features in PHP 5.5

Just a few days ago, the PHP official website was redesigned. It seems we directly go from Web 1.0 era to Web 2.0 era. In addition to this new change, PHP 5.5 was also released. Some new features are added in this release. Here we summarize some of them.Enable OPCache by defaultWhen installing PHP 5.5, the Zend OPCache will be compiled as OPCache by default and OPCache is enabled by default.Some changes to the language itselfAdd Generatorfunction getLinesFromFile($fileName) { if (!$fileHandle = fopen($fileName, 'r')) { throw new RuntimeException('Couldn\'t open file "' . $fileName...

11,311 0       NEW FEATURES PHP 5.5 GENERATOR