|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-31 07:06 UTC] tony2001@php.net
[2004-08-31 07:38 UTC] segv at sayclub dot com
[2004-08-31 08:01 UTC] tony2001@php.net
[2004-08-31 15:35 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 00:00:01 2025 UTC |
Description: ------------ It seems that php crashes when creating object with arguments of autoloaded class. Reproduce code: --------------- test.inc -------------------- <? class B { function func() { return true; } } ?> test.php -------------------- <? function __autoload($className) { include "test.inc"; } class A { function __construct ($a) { } } $a = new A(B::func()); var_dump($a) ?> Actual result: -------------- % php test.php segment fault