Re: PHP 4.0 Bug #1531 Updated: require() causes flex scanner error

From: Date: Thu, 17 Aug 2000 16:09:54 +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-29305@lists.php.net to get a copy of this message
BD>> 1) should give clearer error-message IMO it's clear enough - parser couldn't read the file. BD>> 2) at least include should treat directories BD>> like nonexistant (or empty?) files BD>> and issue a warning instead of a fatal error No, it shouldn't. Directories are not empty files. Let's not add kludges on top of hacks on top of mess. Everything that can be read as a file is OK for us. Everything that can't - not OK. If we now go and start parsing all filetypes for all OSes we won't finish it this century. -- Stanislav Malyshev stas@zend.com +972-3-6139665 ext.106

« previous php.dev (#29305) next »