|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-09 14:59 UTC] scottmac@php.net
[2009-02-10 21:13 UTC] brunner dot adam at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 17:00:01 2025 UTC |
Description: ------------ "print('') && false" returns integer 1, but "false && print('')" and "(int)1 && false" returns false Reproduce code: --------------- <?php var_dump((print('') && false)); // int(1) ?> Expected result: ---------------- returns bool(false) Actual result: -------------- return int(1)