|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-22 08:17 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
Description: ------------ when using array_unique to unify an ArrayObject, PHP runs into a segfault. Reproduce code: --------------- <?php $arrObj = new ArrayObject(); $arrObj->append('foo'); $arrObj->append('bar'); $arrObj->append('foo'); $arr = array_unique($arrObj); ?> Expected result: ---------------- array ( [0] => 'foo', [1] => 'bar' ) or Error Actual result: -------------- Segfault