|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-05 14:25 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2010-12-05 14:25 UTC] felipe@php.net
[2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 05:00:02 2025 UTC |
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