ID: 13999
Updated by: cardinal
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating System: Apache - Linux / Windows
PHP Version: 4.0.6
New Comment:

Reproduced in 4.0.6, but looks like it's fixed in 4.1.0 RC1

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

[2001-11-09 13:22:36] [EMAIL PROTECTED]

This code will crash apache :

<?php
$a = '';
$i = 'TEST';
if (!isset($a['BUG'][$i])) {
    $a['BUG'][$i] = 'SAMPLE';
}
?>

But not this one :

<?php
$a = '';
$i = 'TEST';
$a['BUG'][$i] = 'SAMPLE';
?>

Nor this one :

<?php
$a = array();
$i = 'TEST';
if (!isset($a['BUG'][$i])) {
    $a['BUG'][$i] = 'SAMPLE';
}
?>


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



Edit this bug report at http://bugs.php.net/?id=13999&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to