ID: 15825
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Analyzed
Bug Type: Variables related
Operating System: ANY
-PHP Version: 4.0CVS-2002-03-01
+PHP Version: 4.0CVS-2002-03-0
New Comment:
Should be fixed before 4.2.0, IMO
Previous Comments:
------------------------------------------------------------------------
[2002-03-01 22:32:03] [EMAIL PROTECTED]
4.0..x does not raise error, but 4.1.x does.
<?php
error_reporting(E_ALL);
class testclass { var $dd = ""; }
$test = new testclass();
if (isset($test->dd[0])){
echo "(A) TRUE \n";
}else{
echo "(A) FALSE \n";
}
if (is_array($test->dd) && isset($test->dd[0])){
echo "(B) TRUE \n";
}else{
echo "(B) FALSE \n";
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15825&edit=1