ID:               16159
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: linux
 PHP Version:      4.1.0
 New Comment:

error_reporting(E_ALL); is your friend.


Previous Comments:
------------------------------------------------------------------------

[2002-03-18 22:25:48] [EMAIL PROTECTED]

The second script should be missing the '=' as in the first one.  What
I meant is the following:


#!/usr/local/bin/php -q

<?

echo "blah1\n";
$arr[]  $key;
echo "blah2\n";

?>

------------------------------------------------------------------------

[2002-03-18 22:24:11] [EMAIL PROTECTED]


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 this bug report at http://bugs.php.net/?id=16159&edit=1

Reply via email to