|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-09-16 23:29 UTC] carsten_sttgt at gmx dot de
[2007-09-17 18:54 UTC] thug at thug dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 19:00:01 2025 UTC |
Description: ------------ When using a function in a if() condition, the function is not always launched. Reproduce code: --------------- if( !$something && !aff_new_com('news', $last_time) && !aff_new_com('ftp', $last_time) ) Expected result: ---------------- if( $bool && fct($a) && fct($b)) Then fct($a) and fct($b) are not launched if( funcct($a) && $bool && fct($b)) Then fct($a) is launched but not fct($b) fct return always true or false Actual result: -------------- All functions in the if should be launched.