Re: Invalid class constructors
| From: | Jon Parise | Date: | Sat, 14 Feb 2004 21:34:44 +0000 |
| Subject: | Re: Invalid class constructors | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-532@lists.php.net to get a copy of this message | ||
On Sat, Feb 14, 2004 at 04:58:44PM +0100, Michael Wallner wrote:
> I let run a little script searching for class constructors
> returning anything or assigning anything to $this, which is
> important for PHP5 compatibility and is also a bad habit in
> PHP4, for what it's worth - however that's just the result
> for my locally installed packages:
Nice work. I suggest filing bugs for each of these packages. Also,
it should be noted that these packages cannot be marked as "PHP 5
compatible" until these errors are fixed.
Also, please share your script. Others might find it useful.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)