PHP 4.0 Bug #6611: Array append syntax cause script exit
| From: | nathan at cjhunter dot com | Date: | Thu, 07 Sep 2000 18:17:16 +0000 |
| Subject: | PHP 4.0 Bug #6611: Array append syntax cause script exit | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32601@lists.php.net to get a copy of this message | ||
From: nathan@cjhunter.com
Operating system: Linux 2.0.38
PHP version: 4.0.2
PHP Bug Type: Scripting Engine problem
Bug description: Array append syntax cause script exit
In a php script if you simply have an '<?echo $var[]?>' in your scipt it causes it
to exit and output nothing. I stumbled upon this bug when the script I was working on all of the
sudden started returning nothing. I imagine this could be fixed by testing for the condidtion and
returning a null value or a parse error.