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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC