php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #364 if() Error & Erroneous Error Message
Submitted: 1998-05-08 14:27 UTC Modified: 1998-05-08 15:40 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: whit at transpect dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Release Candidate 4 OS: Redhat Linux 5.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: whit at transpect dot com
New email:
PHP Version: OS:

 

 [1998-05-08 14:27 UTC] whit at transpect dot com
This message was evoked:

Fatal error:  Call to unsupported or undefined function if() in /web/doc//ij/body.php3 on line 2

From this script:

<?php
if(!$num) {               <-- line 2
        $num=0;
}
...

?>

If() is, of course, working fine 99% of the time. This is
with PHP as an Apache 1.2.6 module.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-08 15:40 UTC] zeev
This has already been fixed, you can update to the latest
CVS, or if that's not an option, wait for RC5 that is
due tomorrow.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 21:01:27 2025 UTC