|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-03 08:26 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 09:00:01 2025 UTC |
Description: ------------ Redeclare makes my apache2 hang with php 5.1.2 I heard of others that their 5.1.2 CLI bailed out with a SIGSEGV. Reproduce code: --------------- <?php class foobar extends ArrayObject { public function count() { return count($this); } } $foobar = new foobar(); $foobar[] = 1; $foobar[] = 2; $foobar[] = 3; echo $foobar->count(); ?> Expected result: ---------------- 3