This change is as per RFC https://wiki.php.net/rfc/empty_isset_exprs.
The change allows passing the result of function calls and other
expressions to the empty() language construct. This is accomplished by
simply rewriting empty(expr) to !expr.
The change does not affect the suppression of errors when using empty()
on variables. empty($undefinedVar) will continue not to throw errors.
When an expression is used inside empty() on the other hand, errors will
not be suppressed. Thus empty($undefinedVar + $somethingElse) *will*
throw a notice.
The change also does not make empty() into a real function, so using
'empty' as a callback is still not possible.
In addition to the empty() changes the commit adds nicer error messages
when isset() is used on function call results or other expressions.
* PHP-5.5: (101 commits)
Renamed ZendOptimizerPlus.so into opcache.so
"ZendOptimizerPlus" is renamed to "opcache" to de merged into PHP-5.5 under ext/opcache (the product name is still "Zend Optimizer+")
More accurate restart scheduling
Autogolobal $GLOBALS has to be pinged even if auto_globals_jit=0
Allow only shared O+ build
add tests into package
Add test script for #57 (segfaults in drupal7)
fixed memory leaks
Fixed Issue #57 (segfaults in drupal7)
Fixed issue #58 (PHP-5.2 compatibility)
Allows exclusion of large files from being cached
Add maintainers inot package.xml
fix ANSI C90 compat
Fixed uninitialized variable
Fixed bug #64353 (Built-in classes can be unavailable with dynamic includes and Optimizer+)
Save a stat() call by calling sapi_module.get_stat()
Fixed #54 (PECL install adds extension= instead of zend_extension= to php.ini)