ID:               23042
 Updated by:       [EMAIL PROTECTED]
 Reported By:      patrice dot ferlet at wanadoo dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Linux mandrake 9.1
 PHP Version:      4.3.1
 New Comment:

We fixed a bug so that it displays a warning when you try to do this.
It never actually worked in earlier releases (try it!), and we never
stated that you could overload functions in this way in the manual.


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

[2003-04-04 01:50:17] patrice dot ferlet at wanadoo dot fr

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!

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

[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