|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52673 Freeze if a class namend ArrayList shall be instantiated
Submitted: 2010-08-23 04:12 UTC Modified: 2013-02-18 00:34 UTC
From: blue-tidus159 at hotmail dot com Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5.3SVN-2010-08-23 (snap) OS: Windows 7 x64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-08-23 04:12 UTC] blue-tidus159 at hotmail dot com
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-05 14:25 UTC]
-Status: Open +Status: Feedback
 [2010-12-05 14:25 UTC]
Please try using this snapshot:
For Windows:

I can't reproduce it.
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 11 20:01:29 2023 UTC