RE: [PHP-DEV] RC1 of RC1
| From: | Clemens Gutweiler | Date: | Fri, 19 Mar 2004 10:00:30 +0000 |
| Subject: | RE: [PHP-DEV] RC1 of RC1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8601@lists.php.net to get a copy of this message | ||
> From: Derick Rethans [mailto:derick@php.net]
> On Fri, 19 Mar 2004, Sebastian Bergmann wrote:
>
> > Andi Gutmans wrote:
> > > Only if you use E_STRICT.
> >
> > Am I missing something (bear with me, I am still on
> medication :-) but
> > the following code does not print a warning here:
>
> Because E_Strict is set at run time, and the warnings are thrown at
> compile time :)
Hm, no.
Change the name of 'test' to 'test2', so that this isn't anymore an
construcor - then the E_STRICT message appears. Bug?
Clemens