mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
ec061a93c5
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. |
||
---|---|---|
build | ||
ext | ||
main | ||
netware | ||
pear | ||
sapi | ||
scripts | ||
tests | ||
TSRM | ||
win32 | ||
Zend | ||
.gdbinit | ||
.gitattributes | ||
.gitignore | ||
acinclude.m4 | ||
buildconf | ||
buildconf.bat | ||
CODING_STANDARDS | ||
config.guess | ||
config.sub | ||
configure.in | ||
CREDITS | ||
EXTENSIONS | ||
footer | ||
genfiles | ||
header | ||
INSTALL | ||
LICENSE | ||
ltmain.sh | ||
makedist | ||
Makefile.frag | ||
Makefile.gcov | ||
Makefile.global | ||
makerpm | ||
NEWS | ||
php5.spec.in | ||
php.gif | ||
php.ini-development | ||
php.ini-production | ||
README.EXT_SKEL | ||
README.EXTENSIONS | ||
README.GIT-RULES | ||
README.input_filter | ||
README.MAILINGLIST_RULES | ||
README.namespaces | ||
README.NEW-OUTPUT-API | ||
README.PARAMETER_PARSING_API | ||
README.PHP4-TO-PHP5-THIN-CHANGES | ||
README.REDIST.BINS | ||
README.RELEASE_PROCESS | ||
README.SELF-CONTAINED-EXTENSIONS | ||
README.STREAMS | ||
README.SUBMITTING_PATCH | ||
README.TESTING | ||
README.TESTING2 | ||
README.UNIX-BUILD-SYSTEM | ||
README.WIN32-BUILD-SYSTEM | ||
run-tests.php | ||
server-tests-config.php | ||
server-tests.php | ||
snapshot | ||
stamp-h.in | ||
stub.c | ||
svnclean.bat | ||
UPGRADING | ||
UPGRADING.INTERNALS | ||
vcsclean |
The Win32 Build System. See http://wiki.php.net/internals/windows/stepbystepbuild vim:tw=78:sw=1:ts=1:et