Re: protected/private function __construct() not allowed in 5.0.4?
| From: | Antony Dovgal | Date: | Wed, 20 Apr 2005 08:24:07 +0000 |
| Subject: | Re: protected/private function __construct() not allowed in 5.0.4? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16043@lists.php.net to get a copy of this message | ||
On Tue, 19 Apr 2005 23:11:46 -0400
Greg Beaver <cellog@php.net> wrote:
> Hi all,
>
> I just spent quite a while searching the archives, and can't find any
> explanation of why this code worked in 5.0.3 but doesn't in 5.0.4:
>
> <?php
> class blah {
> protected function __construct(){}
> }
> ?>
Works fine with HEAD, 5.0.5-dev & 5.0.4.
Could you plz explain what did you mean when you said "doesn't work" ?
--
Wbr,
Antony Dovgal aka tony2001
antony@zend.com