Re: PHP 4.0 Bug #1531 Updated: require() causes flex scanner error
| From: | Stanislav Malyshev | Date: | Thu, 17 Aug 2000 15:32:15 +0000 |
| Subject: | Re: PHP 4.0 Bug #1531 Updated: require() causes flex scanner error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29298@lists.php.net to get a copy of this message | ||
BD>> still it should not result in a parse error
It's not parse error, please read the message.
BD>> it should produce a warning
BD>>
BD>> PHP Warning: Failed opening './' for inclusion
It didn't failed opening, it failed reading. And require is not allowed to
fail.
BD>> as with other unknown files
That's not unknown file, that's known non-file.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665 ext.106