Dont you love those error messages? :)
| From: | Sander Pilon | Date: | Wed, 04 Aug 1999 15:11:06 +0000 |
| Subject: | Dont you love those error messages? :) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3106@lists.php.net to get a copy of this message | ||
Okay,
The initial reason for getting the latest CVS was an error where a script
wouldnt include another script.
The page just stayed blank.
The new recompile didnt solve the problem, but I did find what caused it.
If an already declared function is declared again, no error message is
generated.
A little script to demonstrate:
<script language="php">
function foo()
{
echo "hello";
}
function foo()
{
echo "hello";
}
echo "check!";
</script>
Should output an error, but instead the page stays blank.
*POOF* 4 hours down the drain :)
Sander