|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: svein dot parnas at sting dot bibsent dot no
New email:
PHP Version: OS:


 [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: Sat Apr 20 15:01:29 2024 UTC