Bug #16159: script termination without error on $arr[] $var

From: Date: Tue, 19 Mar 2002 03:24:12 +0000
Subject: Bug #16159: script termination without error on $arr[] $var
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2819@lists.php.net to get a copy of this message
From: ketan@audiogalaxy.com Operating system: linux PHP version: 4.1.0 PHP Bug Type: Scripting Engine problem Bug description: script termination without error on $arr[] $var The php script below will terminate without printing out any sort of error indicating the problem. There is no HTML output error, nor anything in the apache error log. <? echo "blah1"; $key = "k"; // the line below is bad $arr[] $key; // the line above is bad echo "blah2"; ?> I have duplicated this failure with php 4.0.5 from the command line in the script: #!/usr/local/bin/php -q <? echo "blah1\n"; $arr[] =$key; echo "blah2\n"; ?> -- Edit bug report at http://bugs.php.net/?id=16159&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16159&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16159&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16159&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16159&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16159&r=support Expected behavior: http://bugs.php.net/fix.php?id=16159&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16159&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16159&r=submittedtwice

« previous php.bugs (#2819) next »