RE: [PHP-QA] Re: RC6 doesn't mind function redefinition
| From: | Zeev Suraski | Date: | Tue, 03 Apr 2001 22:19:15 +0000 |
| Subject: | RE: [PHP-QA] Re: RC6 doesn't mind function redefinition | ||
| References: | 1 2 3 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-2780@lists.php.net to get a copy of this message | ||
At 22:02 3/4/2001, Cynic wrote:
Anyway, shouldn't PHP terminate the script during compilation? I thought function redeclarations were compile errors, but it looks as if they're runtime errors, and the whole script got executed(?).If it's inside an include file, then remember include files are only evaluated in run-time of their parent script. So it's compile-time for them, but run-time in general. Zeev