Re: Re: Error: Can't redeclare already declared function (PHP 3.0.15)
| From: | Tamas Arpad | Date: | Sat, 27 Oct 2001 11:21:58 +0000 |
| Subject: | Re: Re: Error: Can't redeclare already declared function (PHP 3.0.15) | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72552@lists.php.net to get a copy of this message | ||
> Unfortunately, you can't include FUNCTION() conditionaly (well, you
> can, but then you can't use it out of this if():). Why only such
> dumn restriction, PHP developers?
I think it's only true for php3
I use many many class definitions in php4 that are inluded
conditionally in another classes' functions, and of course it works
fine.
Arpi