|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-04-03 16:48 UTC] patrice dot ferlet at wanadoo dot fr
Fatal error: Cannot redeclare copixaction() in /var/www/html/newcopix/utils/copix/core/CopixAction.class.php on line 59 Last version of PHP worked but not today with 4.3.1. I cannot redefine a function in class... but i do oop ! thanks PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |
try this: class test { function blah ($one, $two) { echo "ONE\n"; } function blha ($one, $two, $three) { echo "TWO"; } } In OOP, we can declare several prototypes of a class method, in php 4.0 i could do this, but with php 4.3.1 i cannot anymore. I think this is a very important problem. For a framework i use (and i contribute) this is a real big problem!