Hi!

On 9/18/11 5:24 PM, Pierre Joye wrote:
class foo{
  function __construct(){}
}
class bar extends foo{
   function__construct($a, $b){}
}

Come on. This is not my example. My example was:

class foo{
 function __construct($a, $b){}
}
class bar extends foo{
  function__construct(){}
}

I would expect people at least read what I write before replying - is it too much? I wrote "foo() is compatible with foo($a, $b)" not the other way around and in case it wasn't clear I gave specific example.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to