RE: [PHP] error: cannot redeclare ()
| From: | Joe Harman | Date: | Thu, 07 Aug 2003 06:38:01 +0000 |
| Subject: | RE: [PHP] error: cannot redeclare () | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158609@lists.php.net to get a copy of this message | ||
Hi Martin... I am guessing you have a nested function that is being
redeclared, your error would come from there... Just a guess anyhow...
Joe
> -----Original Message-----
> From: Martin Towell [mailto:martin.towell@world.net]
> Sent: Thursday, August 07, 2003 2:11 AM
> To: php-general@lists.php.net
> Subject: [PHP] error: cannot redeclare ()
>
>
> I'm getting the following error:
>
> PHP Fatal error: Cannot redeclare () (previously declared in
> /path/to/file/functions.inc:19) in
> /path/to/file/functions.inc on line 0
>
> Anyone have any ideas how a no-name function could be
> generated? Line 19 contains:
> function idb_exec_deadlock($sql,$count=0)
>
> There are only two lines before this that contain code (the rest are
> comments) and they are:
> if (!$__GEN_HIR_FUNCTIONS_INCLUDE){
> $__GEN_HIR_FUNCTIONS_INCLUDE=1;
>
> TIA
> Martin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>