|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-17 02:01 UTC] mfischer@php.net
[2001-10-17 03:37 UTC] yasuo_ohgaki at yahoo dot com
[2001-11-11 21:29 UTC] sniper@php.net
[2001-11-11 21:30 UTC] sniper@php.net
[2001-11-11 21:45 UTC] cnewbill@php.net
[2001-11-11 22:07 UTC] yasuo_ohgaki at yahoo dot com
[2002-03-26 03:30 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Feb 15 07:00:01 2026 UTC |
Found this bug while I'm doing copy & paste. Current CVS version (both HEAD and RC) allows redefinition of function (method). I think this should be fixed before 4.1.0 release. Following code compiles/runs. PHP executes first function test(). <?php class A { function test() { echo "A->test()\n"; } function test() { echo "Another A->test()\n"; } } $obj = new A; $obj->test(); ?>