Re: Compatibility problems with PHP 5
| From: | Stig S. Bakken | Date: | Wed, 03 Dec 2003 11:12:35 +0000 |
| Subject: | Re: Compatibility problems with PHP 5 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6067@lists.php.net to get a copy of this message | ||
On Mon, 2003-12-01 at 21:47, Andi Gutmans wrote:
> At 03:32 PM 12/1/2003 -0500, Daniel Convissor wrote:
> >On Mon, Dec 01, 2003 at 10:15:46PM +0200, Andi Gutmans wrote:
> > >
> > > I don't quite understand the problem. E_STRICT was only meant for people
> > > who really want to be pedantic. I think we can make it not part of E_ALL.
> > > Is that OK?
> >
> >Better. The only drawback is people who do want to be pedantic will get
> >flooded by tons of warnings about var rather than being able to focus on
> >real problems.
> >
> >Guess I'M being pedantic. :)
>
> If they'd like to keep var then they aren't pedantic :)
> I'm sure that even with big apps doing a search and replacing var with
> public will take no more than half an hour.
It's not as simple as that. In addition to your own code, you install a
bunch of packages, none of them maintained by yourself. Some of these
packages you use directly from your own code, others are dependencies of
those and so on. I would never put anything into production with a
blind search/replace in code that I did not know well.
- Stig