|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-02 15:34 UTC] xrstf-misc at yahoo dot com
[2012-03-08 22:32 UTC] ab@php.net
[2012-03-09 16:12 UTC] rk at mac dot hush dot com
[2012-03-09 16:23 UTC] remi@php.net
[2012-03-10 00:14 UTC] luath at hushmail dot com
[2012-03-12 15:30 UTC] remi@php.net
[2012-03-18 13:22 UTC] pajoye@php.net
[2012-03-18 13:22 UTC] pajoye@php.net
-Status: Open
+Status: Feedback
[2012-03-18 17:53 UTC] remi@php.net
[2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
Description: ------------ httpd + PHP 5.4.0RC5-dev (201201041830) + APC (svn 316786) : OK. httpd.worker + PHP in ZTS mode without APC in ZTS mode : OK. httpd.worker + PHP in ZTS mode + APC in ZTS mode : __autoload or spl_autoload_register only works on first call. Test script: --------------- Connect to phpMyAdmin Minimal script. <pre><?php function my_autoload($name) { echo "autoload $name\n"; include("$name.php"); } echo "Start\n"; spl_autoload_register('my_autoload'); Foo::run(); ?></pre> Expected result: ---------------- Start autoload Foo In foo class (which is also the result on first call, after apache start) Actual result: -------------- Start autoload Foo Fatal error: Call to undefined method Foo::run() in /home/remi/public_html/autotest.php on line 8