|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-30 21:27 UTC] ab@php.net
[2012-07-31 17:58 UTC] ab@php.net
[2012-07-31 18:00 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2012-07-31 18:00 UTC] ab@php.net
[2012-08-01 08:25 UTC] franssen dot roland at gmail dot com
[2012-08-01 09:26 UTC] ab@php.net
[2012-08-01 10:53 UTC] franssen dot roland at gmail dot com
[2012-08-01 11:58 UTC] ab@php.net
[2012-08-01 12:00 UTC] ab@php.net
[2012-08-01 14:29 UTC] franssen dot roland at gmail dot com
[2012-08-01 15:03 UTC] ab@php.net
[2012-08-01 15:16 UTC] franssen dot roland at gmail dot com
[2012-08-01 17:20 UTC] ab@php.net
[2012-08-01 17:22 UTC] ab@php.net
[2012-08-08 16:11 UTC] ab@php.net
[2012-08-09 20:40 UTC] ab@php.net
[2012-08-23 19:04 UTC] franssen dot roland at gmail dot com
[2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ Hi, I'm getting very weird behavior using traits with APC (3.1.11) enabled. Test script: --------------- <?php trait A { public function test() { var_dump(__TRAIT__); } } class Foo { use A { A::test as test2; } public function test() { var_dump(__CLASS__); } } $foo = new Foo; $foo->test(); $foo->test2(); Expected result: ---------------- string(3) "Foo" string(1) "A" Actual result: -------------- page load (basicly direct after restarting apache): string(3) "Foo" string(1) "A" after page refresh: string(3) "Foo" Fatal error: Call to undefined method Foo::test2() in /var/www/test.php on line 17