Go to file
Nikita Popov ec061a93c5 Allow arbitrary expressions for empty()
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.
2012-05-13 14:56:51 +02:00
build
ext fix stack overflow in php_intlog10abs() 2012-05-11 13:07:21 -04:00
main This will be PHP 5.3.14 2012-05-08 11:28:15 +02:00
netware
pear
sapi Merge branch 'PHP-5.4' 2012-05-09 11:29:19 +08:00
scripts
tests Merge branch 'PHP-5.4' 2012-04-16 15:16:43 +02:00
TSRM Fixed bug #51860 (Include fails with toplevel symlink to /) 2012-01-30 10:08:11 +00:00
win32 Merge branch 'PHP-5.4' 2012-05-11 14:39:29 +02:00
Zend Allow arbitrary expressions for empty() 2012-05-13 14:56:51 +02:00
.gdbinit Fix wrong type in the marco of fetching thread globals 2012-03-11 15:12:28 +00:00
.gitattributes Merge .gitattributes EOL commit from 5.3. 2012-04-10 19:45:18 +01:00
.gitignore Ignore the tempoary files 2012-03-22 17:22:17 +08:00
acinclude.m4 Merge branch 'PHP-5.3' into PHP-5.4 2012-04-03 02:00:23 +09:00
buildconf Make "buildconf --force" more robust, per IRC chat. Not backported to 5.3 to avoid destabilization. 2012-03-06 21:30:59 +00:00
buildconf.bat
CODING_STANDARDS
config.guess
config.sub
configure.in This will be PHP 5.3.14 2012-05-08 11:28:15 +02:00
CREDITS
EXTENSIONS Added myself as curl maintainer 2011-12-04 16:46:45 +00:00
footer
genfiles
header - Year++ 2012-01-01 13:15:04 +00:00
INSTALL
LICENSE Bump copyright year. 2012-03-20 11:14:59 +01:00
ltmain.sh
makedist fix makedist for new tags 2012-03-30 00:01:52 -07:00
Makefile.frag
Makefile.gcov fix race condition in find (it was finding the copied files over and over again, and recursing forever) 2012-02-20 16:01:34 +00:00
Makefile.global
makerpm
NEWS Allow arbitrary expressions for empty() 2012-05-13 14:56:51 +02:00
php5.spec.in
php.gif
php.ini-development Merge branch 'PHP-5.4' 2012-04-19 00:08:42 +02:00
php.ini-production Merge branch 'PHP-5.4' 2012-04-19 00:08:42 +02:00
README.EXT_SKEL
README.EXTENSIONS
README.GIT-RULES Move and update README.SVN-RULES to README.GIT-RULES 2012-04-13 02:12:47 +02:00
README.input_filter Merge branch 'PHP-5.3' into PHP-5.4 2012-03-20 17:58:58 +01:00
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 fix RCs 2012-04-19 10:45:21 -07:00
README.SELF-CONTAINED-EXTENSIONS
README.STREAMS
README.SUBMITTING_PATCH
README.TESTING
README.TESTING2
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM
run-tests.php Refactoring junit logger. Added generation of nested testsuites in junit.xml. 2012-03-28 21:39:24 +01:00
server-tests-config.php
server-tests.php
snapshot
stamp-h.in
stub.c
svnclean.bat
UPGRADING Allow arbitrary expressions for empty() 2012-05-13 14:56:51 +02:00
UPGRADING.INTERNALS - Cleanup UPGRADING and UPGRADING.INTERNALS from 5.4 changes. 2012-02-22 10:08:37 +00:00
vcsclean

The Win32 Build System.

See http://wiki.php.net/internals/windows/stepbystepbuild 

vim:tw=78:sw=1:ts=1:et