request ...
| From: | Colin Viebrock | Date: | Fri, 25 Jun 1999 16:30:53 +0000 |
| Subject: | request ... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7553@lists.php.net to get a copy of this message | ||
If I try and declare two functions with the same name, I get an
error. Which is fine. But, if this is the second definition
function foobar() { /* line 200 */
echo "foo";
echo "foobar";
} /* line 203 */
The error I get is:
Fatal error: Can't redeclare already declared function in
FILENAME on line 203
i.e., the error doesn't register until the closing brace ends
the function definition.
It would make things a wee bit easier to debug if the error
referenced the line that "function" is on (i.e. 200) instead,
don't you think?
Nothing major, I know, but if you agree and it's an easy fix ...
__________________________________________________________________
Colin Viebrock easyDNS Technologies
... be the master of your domain
http://www.easyDNS.com