php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45349 ArrayObject::ksort() terminates script
Submitted: 2008-06-24 18:09 UTC Modified: 2008-07-20 00:19 UTC
From: david at grudl dot com Assigned: colder (profile)
Status: Closed Package: SPL related
PHP Version: 5.3CVS-2008-06-24 (snap) OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david at grudl dot com
New email:
PHP Version: OS:

 

 [2008-06-24 18:09 UTC] david at grudl dot com
Description:
------------
Method ksort() terminates script.

Reproduce code:
---------------
$obj = new ArrayObject();
$obj->ksort();



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-07 00:04 UTC] colder@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.3-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.3-win32-installer-latest.msi

Can't reproduce:

colder@jack /var/cvs/php.net/php5.3-dev $ sapi/cli/php -r '$a = new ArrayObject(); $a->ksort(); echo "end\n";'
end

But I also fixed something related to methods like ksort(), so please try again.
 [2008-07-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2008-07-16 12:57 UTC] david at grudl dot com
This bug still exists in snapshot from Tue, 15 Jul 2008 20:25:38.
 [2008-07-18 19:25 UTC] colder@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2008-07-20 00:19 UTC] david at grudl dot com
Thank you, it works well.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC