|
Posted by Dr. No on 02/06/07 19:22
Bruce Whealton wrote:
> Hi,
> I have a slightly old text for learning PHP. It's from
> 2001, which is before PHP 5.2.x I think it is using PHP 4.x.y. Has PHP
> changed radically enough that the
> techniques taught back then will just cause problems?
> I know that Set Globals or something like that is very
> discouraged now. So, there are differences but are they
> enough to not use this older text if writing code for PHP 5.2.x?
> Thanks,
> Bruce
>
>
There are quite a few subtle and not so subtle differences between PHP 4 and PHP
5; enough that O'Reilly published a book called "Migrating to PHP 5", which I
found quite useful in making the transition. If you like the book you have, you
should try to find a more recent edition of that book and see if it helps. There
is very little to gain from learning a computer language from a book that is
over six years old, unless you specifically want to work with PHP 4, which as
you stated, you don't.
[Back to original message]
|