Re: Conditional class definition in PHP 4.3.x
| From: | Johannes Schlueter | Date: | Fri, 09 Jan 2004 23:14:00 +0000 |
| Subject: | Re: Conditional class definition in PHP 4.3.x | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6943@lists.php.net to get a copy of this message | ||
Hi,
Zeev Suraski wrote:
Wow, that's a neat one. Took me a while to realize what the heck is going on, but basically it has to do with the way the engine mangles function/class names. It's based on the file name and the line number. This *usually* works, practically, it always works except for when using -r (which probably didn't exist at the time we introduced this mangling... Anyway, I'll look into fixing it. Thanks for pinpointing the problem!Might #26456 be caused by the same problem? Then it also affects the PHP5/ZE2 branch. http://bugs.php.net/bug.php?id=26456 johannes