|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23 Ifelse bug?
Submitted: 1998-01-30 12:23 UTC Modified: 1998-01-30 14:03 UTC
Avg. Score:2.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:2 (200.0%)
From: svein dot parnas at sting dot bibsent dot no Assigned:
Status: Closed Package: Other
PHP Version: 3.0 Latest CVS OS: Linux RH5
Private report: No CVE-ID: None
 [1998-01-30 12:23 UTC] svein dot parnas at sting dot bibsent dot no
In a script like this:

if (expr1):
elseif (expr2):
elseif (expr3):
elseif ($a = my_procedure(does some mysql things)):

my_procedure is executed even if expr3 is true
(but dothings3 is done and not dothings 4 as expected).



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-30 14:03 UTC] jim
Fixed in latest CVS and PHP/3.0b4.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 23:01:30 2024 UTC