php 5
Moderator: General Moderators
php 5
can't post my question to the tutorial section so forgive me if this is not the right section for my question...anyone here can point me where i can find a good tutorial of php 5, especialy the OOP part...any links to it??or advise me what book should i get...i happen to read a book, but i can hardly understand...a reference for a newbie will do..thanks in advance

- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
You could just read any of the tutorials for OOP in PHP4, of which there are many -- Even if you have PHP5 installed you shouldn't have any issues following them... it's pretty much backward compatible.
Once you have that basic grounding you should cope fine with simply reading through the Manual at php.net to see the new features added to OOP in PHP5 and just play around yourself
The concepts are pretty much the same... there's just some things that have been made easier and some nice new features. There's also some new concepts (within PHP at least) to learn but they're fairly well explained in the manual (protected, private, public, constant definitons etc etc).
The other non-OOP changes are simply a few function additions, and some re-oredering of paramters in functions... nothing you could write tutorials on as such.
Once you have that basic grounding you should cope fine with simply reading through the Manual at php.net to see the new features added to OOP in PHP5 and just play around yourself
The other non-OOP changes are simply a few function additions, and some re-oredering of paramters in functions... nothing you could write tutorials on as such.
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Best tip ever - if you have a book, do the examples. Simply reading, and not coding, makes it very difficult to connect the two.
Any entry level text for PHP is good - I'd suggest something in PHP4 since that's still the main version supported by online hosts, and the PHP Manual for the PHP5 updates. SAMS, O'Reilly, and a few others make decent starting books for new users. Enough to get you coding.
One of the quickest ways to get practical learning is to pick a fairly small and simple PHP application and just start figuring out how it works (with the PHP manual/book right next to you). That will give you some insight to how it all fits together.
Any entry level text for PHP is good - I'd suggest something in PHP4 since that's still the main version supported by online hosts, and the PHP Manual for the PHP5 updates. SAMS, O'Reilly, and a few others make decent starting books for new users. Enough to get you coding.
One of the quickest ways to get practical learning is to pick a fairly small and simple PHP application and just start figuring out how it works (with the PHP manual/book right next to you). That will give you some insight to how it all fits together.