#46067 [Opn->Csd]: Collator methods - Segfault

From: Date: Sat, 20 Sep 2008 22:07:43 +0000
Subject: #46067 [Opn->Csd]: Collator methods - Segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-129139@lists.php.net to get a copy of this message
ID: 46067 Updated by: felipe@php.net Reported By: felipe@php.net -Status: Open +Status: Closed Bug Type: I18N and L10N related PHP Version: 6CVS-2008-09-12 (CVS) New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-09-12 17:27:34] felipe@php.net Description: ------------ The crashes happens when creating an instance of Collator passing no argument. Reproduce code: --------------- <?php $x = new collator; $x->getStrength(); Expected result: ---------------- Warning: Collator::__construct() expects exactly 1 parameter, 0 given in /home/felipe/public_html/bug.php on line 4 Segmentation fault (core dumped) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46067&edit=1

« previous php.bugs (#129139) next »