You are here: Re: Learning PHP; text from 2001, good or not? « PHP Language « IT news, forums, messages
Re: Learning PHP; text from 2001, good or not?

Posted by J.O. Aho on 02/06/07 08:09

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.

Yes, if you are lucky it's PHP4, it's just a year after the release, so it
could still be PHP3.


> 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.

One of the major differences is the globlas, instead of using the variable
directly, you need to get it from the $_REQUEST. With version some functions
changes too, as rand() that don't need srand() anymore.


> So, there are differences but are they
> enough to not use this older text if writing code for PHP 5.2.x?

I would suggest you get yourself something written fro PHP5 is you are going
to use php5.2, as there are loads of new things for it.

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация