#27805 [Opn->Bgs]: Compile error directs to closing parenthesis of a function
| From: | derick@php.net | Date: | Wed, 31 Mar 2004 17:38:42 +0000 |
| Subject: | #27805 [Opn->Bgs]: Compile error directs to closing parenthesis of a function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57244@lists.php.net to get a copy of this message | ||
ID: 27805
Updated by: derick@php.net
Reported By: moty at zend dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Win2k
PHP Version: 5.0.0RC1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
.
Previous Comments:
------------------------------------------------------------------------
[2004-03-31 11:55:57] moty at zend dot com
Description:
------------
The compile error directs the user to the closing parenthesis of a
function.
Reproduce code:
---------------
<?
function foo(){
}
echo "df";
function foo(){
}
echo "df";
?>
Actual result:
--------------
Compile Error: PHPDocument4 line 9 - Cannot redeclare foo() (previously
declared in PHPDocument4:2)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27805&edit=1