Re: [PHP4BETA] require bug.

From: Date: Wed, 09 Jun 1999 21:46:50 +0000
Subject: Re: [PHP4BETA] require bug.
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1426@lists.php.net to get a copy of this message
At 22:27 09/06/99 , Yann Doussot wrote:
        Hello
        I've noticed a problem with require(). Example
test1.php3: --------------- Testing <? if (1==1) { require("html.php3"); } else { require("html.php3");
}:      <---
What's that colon? I got a parse error with that colon, and it worked fine without it. I'd guess that you have error_reporting set to a low value in your php3.ini, and since the values of error_reporting changed in version 4.0, you're not seeing parse errors, thus, no output. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#1426) next »