Re: New zend_compile.c to solve all of the duplicate function problems
| From: | Zeev Suraski | Date: | Sun, 21 Oct 2001 01:42:39 +0000 |
| Subject: | Re: New zend_compile.c to solve all of the duplicate function problems | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68529@lists.php.net to get a copy of this message | ||
At 19:11 19-10-01, Brian Moon wrote:
- Even with no protection at all, function redefinitions will not be reported. That's kind of ugly. An E_NOTICE is raised at runtime. I know many people ignore these, but it is there.So basically, your existing code base will now be issuing tons of E_NOTICE's? How about if we introduce an implicit _once directive? Do you have cases in which you intentionally include the same file twice? Zeev