Re: PHP4 -> PHP5 incompatibility - classes must be declared before being used

From: Date: Mon, 19 Apr 2004 15:23:51 +0000
Subject: Re: PHP4 -> PHP5 incompatibility - classes must be declared before being used
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-9383@lists.php.net to get a copy of this message
On Sunday 11 April 2004 23:16, Marcus Boerger wrote: > Hello Marc, [...] > > > > I read that for simple cases, instantiation before declaration will > > work...does/will this cause an E_STRICT error? > > no but probabla something to discuss since maybe later it won't work > anymore and it is 'not so good practise' or better say not > recommended usage. > I really like it would produce an E_STRICT error, see http://bugs.php.net/bug.php?id=27440 Regards Friedhelm

« previous php.internals (#9383) next »