Re: Re: Error: Can't redeclare already declared function (PHP 3.0.15)

From: Date: Sat, 27 Oct 2001 13:57:01 +0000
Subject: Re: Re: Error: Can't redeclare already declared function (PHP 3.0.15)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-72570@lists.php.net to get a copy of this message
On Sat, 27 Oct 2001 13:21:58 +0200 impersonator of sts@mail.xubion.hu (Tamas Arpad) planted &I saw in php.general: >> 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 > Hmm. Thats becoming interesting. Are you using 4.06 ? Becouse, i have this version, and it doesn't give me such a chance. I thought it should, but when tryed it proved otherwise.. Pss. I double-checked now on a simple example, and it worked as you say, it should.. But i re-member well that then i too checked several times.. Weird. (i must have missed s/t then or..) Anyway, 'll have in mind, that it should work, for the futer. Sorry 4 missleding & TnX. i.

« previous php.general (#72570) next »