|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-07 00:16 UTC] rasmus@php.net
[2004-09-07 04:38 UTC] xuefer at 21cn dot com
[2004-09-07 12:42 UTC] rasmus@php.net
[2004-09-07 13:19 UTC] xuefer at 21cn dot com
[2004-09-07 13:43 UTC] rasmus@php.net
[2004-09-12 02:39 UTC] xuefer at 21cn dot com
[2004-09-19 03:30 UTC] Rasmus@php.net
[2012-07-08 03:33 UTC] chx@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: chx
[2012-07-08 03:33 UTC] chx@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 01:00:01 2025 UTC |
Description: ------------ 1. load test.php in browser (via apache+php+apc) 2. update "in p2" to "in p2**" (*** is random text) 3. reload test.php, nothing changed (even with ctrl+f5 in ie, reload with nocache) 4. uncomment class p3::set 5. do 1-3, message is updated Reproduce code: --------------- test.php: require("./p12.php"); require("./p3.php"); $p3 = new p3(); $p3->set(); p12.php class p1 { function set() { echo "in p1<br>"; } } class p2 extends p3 { function set() { echo "in p2<br>"; return parent::set(); } } p3.php class p3 extends p2 { /* if this exists, no error function set() { echo "in p3<br>"; return parent::set(); } */ }