php schedule tool

Collins Richey crichey
Sat Oct 8 16:51:13 PDT 2005


On 10/8/05, A. Khattri <ajai at bway.net> wrote:
> On Sat, 8 Oct 2005, David Bandel wrote:
>
> > I'm still waiting for the V5 upgrade spectacle where nothing php4
> > works in php5
>
> Probably why most PHP programmers (myself included) are still working with
> PHP4 - why would you upgrade to something that is widely known to be a
> problem?
>

Maybe so, but my opinion is that David will be waiting for a spectacle
that won't occur.

I did a little searching on the topic, and I found no major instances
of PHP4 code incompatibilities when running on PHP5. Almost everything
I found could be tracked back to sloppy code, including a lot of $this
= assignments in PHP4 objects. Even an amateur coder should know
better than that. phpBB has fixed its problems, and the current
version runs fine on PHP4/5. One report did indicated that
SquirrelMail has not yet cleaned up its code.

If the same attitude prevailed with glibc, for example, everyone would
be complaining (a few are still) that their old, crappy code won't
work with the current glibc.

Every product that I'm aware of has some level of incompatibility with
code written for older releases, and PHP5 seems to be cleaner than
most. The differences are well published, so I don't understand all
the fuss.

So phrases like "waiting for a spectacle" and "widely known to be a
problem" are a bit off the mark.

--
Collins Richey
      Debugging is twice as hard as writing the code ... If you write
      the code as cleverly as possible, you are, by definition, not
      smart enough to debug it.
             -Brian Kernighan



More information about the Linux-users mailing list