|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-11-02 06:38 UTC] fa@php.net
-Assigned To:
+Assigned To: fa
[2011-11-02 07:36 UTC] fa@php.net
[2011-11-02 07:37 UTC] fa@php.net
-Status: Assigned
+Status: Closed
[2011-11-02 07:37 UTC] fa@php.net
[2011-11-03 16:20 UTC] fa@php.net
[2012-04-18 09:48 UTC] laruence@php.net
[2012-07-24 23:39 UTC] rasmus@php.net
[2013-11-17 09:35 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 18:00:01 2025 UTC |
Description: ------------ If Collator is extended, but parent::__construct() not invoked, any call to sort() will end in a segmentation fault. Test script: --------------- <?php class Collator2 extends Collator { public function __construct() { // ommitting parent::__construct($someLocale); } } $c = new Collator2(); $a = array('a', 'b'); $c->sort($a); Expected result: ---------------- Some kind of Exception, E_ERROR or something. Anything but a SegFault.