You can not reproduce as long your php is misconfigured
error_reporting = E_ALL | E_STRICT

We are using this setting on ALL our production servers
to develop really clean applications

Strict Standards: Declaration of ObjChild::set() should be compatible with that
of ObjParent::set() in /home/harry/Desktop/test.php on line 8

Am 20.08.2010 15:10, schrieb Jonathan Bond-Caron:
> Oops, thanks :) 
> 
> Maybe Stas can comment but I can't reproduce the E_STRICT warning
> Is this php HEAD? 
> 
> class ObjParent {
>         function set($param2 = '') {}
> }
> 
> class ObjChild extends ObjParent {
>          function set(){  echo "."; }
> }
> 
> $o = new ObjChild;
> $o->set(); // runtime E_STRICT warning?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to