From:
Operating system: Windows 7 x64
PHP version: 5.3SVN-2010-08-23 (snap)
Package: Scripting Engine problem
Bug Type: Bug
Bug description:Freeze if a class namend ArrayList shall be instantiated
Description:
------------
I wanted to instantiate a object of the class ArrayList but did not define
a "use ...\ArrayList" and everything hung up. No response was send from the
server, neither a error message nor an empty page.
Test script:
---------------
namespace test;
class A{
public function __construct(){
$arr = new ArrayList();
}
}
-----
namespace test2;
class ArrayList{...}
-----
namespace test3;
$class = new ReflectionClass('A');
$aObj = $class->newInstance(null);
Expected result:
----------------
Error, test3\ArrayList was not found
Actual result:
--------------
Endless loop
--
Edit bug report at http://bugs.php.net/bug.php?id=52673&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52673&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52673&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=52673&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52673&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=52673&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52673&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=52673&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=52673&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=52673&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=52673&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=52673&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=52673&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=52673&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52673&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52673&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52673&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=52673&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=52673&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=52673&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=52673&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=52673&r=mysqlcfg