ID:               23042
 User updated by:  patrice dot ferlet at wanadoo dot fr
 Reported By:      patrice dot ferlet at wanadoo dot fr
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Linux mandrake 9.1
 PHP Version:      4.3.1
 New Comment:

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!


Previous Comments:
------------------------------------------------------------------------

[2003-04-03 19:40:07] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2003-04-03 16:48:01] 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 

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23042&edit=1

Reply via email to