Linux Systems Administrator
Jupitermedia
US-AZ-Tucson

Justtechjobs.com Post A Job | Post A Resume

Introduction to PHP5
PHP5 is not yet official but the development versions are already usable (and unstable!) so we can start to learn and practice the new features of the upcoming version of PHP. In this article I will focus in three major new features of PHP5:.
  • The new object model
  • Exceptions
  • Namespaces
First of all a couple of disclaimers:
  • Some of the techniques described in this article can be done with PHP4, but are presented anyway to make the whole article more readable.
  • Some of the features described in this article may change in the final release of PHP5.
PHP5 has not been released yet and I don't know when that will be but you can already try and investigate the new features of the language by downloading and installing a PHP5 development version from http://snaps.php.net. There you will find Linux and Windows versions of PHP5 ready to be used. Installation proceeds as in any normal PHP distribution so go there and grab a brand new toy.
Next Page


Comments:
OO and maintainabilitydmancan05/10/05 02:28
Can some one Kel04/08/05 11:27
php image cacheMeg03/28/05 06:56
RE: pi is wrong?cross10/15/04 04:33
best for code generationYounkarm Chung09/09/04 13:33
PHP4 and PHP5 on Windows in 2 sec.Romain07/26/04 09:16
RE: Construct/Destruct/Memory in Php5Jona07/21/04 07:53
PHP5 on windowsRomain07/13/04 08:58
RE: No Polluting FlameWars - pleaseBrett King07/12/04 11:54
Procedural/Object Brothers - are we not one?Brett King07/12/04 11:45
RE: Oh my god!Tommy06/26/04 17:46
cloning doesnt workMarnix06/13/04 07:45
Think about itBisso06/09/04 10:24
RE: packagewednesday05/08/04 16:04
Did we miss the point???Sentry04/09/04 20:48
packageJohn03/12/04 07:50
RE: Great!Stephen McConnell02/25/04 13:48
No Polluting FlameWars - pleaseJacMoe12/19/03 17:49
Construct/Destruct/Memory in Php5Nikunj Soni12/03/03 01:34
RE: .net is betterScott Holodak11/14/03 19:29
RE: This is so stupidJosh Spivey10/16/03 17:36
PHP, JAVA, C++Rick Robinson09/04/03 00:00
RE: Look like Java to mejigen08/28/03 01:52
RE: PHP's direction - reassuranceMike Blamires08/06/03 08:00
RE: Look like Java to mecristobal garcia08/03/03 04:57
WERE IS THE PROBLEM? !!!Luca Stasio08/01/03 05:28
pi is wrong?Doug Dante07/31/03 12:12
Up to date with PHP5 changesBogdan07/25/03 12:44
Close to best of both worldsCarsten07/24/03 03:55
Missing the pointPradesh Chanderpaul07/23/03 08:04
PHP5 and Java will shape the new InternetLuiz Miguel Axcar07/15/03 11:02
Thanks, but no thanks...Scott07/15/03 04:10
Object porting from PHP4 to PHP5 ?platypus07/14/03 21:35
PHP 5 OOP Help ProjectsChristian Sueiras07/11/03 08:36
RE: Zeev nixes namespaces?Jean-Philippe Léveillé07/09/03 12:56
YahoooBrian Stegman07/09/03 10:46
RE: Oh my god!dvkm07/04/03 05:10
They have to make the leap sometimeFred McCann07/02/03 12:42
RE: .net is betterSimone06/29/03 09:41
I like it!!php4.2306/26/03 02:04
I Love It!Joel PIttet06/24/03 21:19
RE: .net is betterDavid Fells06/17/03 18:38
I guess IL is next...David Fells06/16/03 10:16
RE: This is so stupidZeev Suraski06/16/03 04:34
Excellentmuneer06/12/03 08:56
RE: PHP4/PHP5 - C/C++Sriram06/10/03 00:47
Zeev nixes namespaces?David Vance06/09/03 16:16
Switch to jsp.Bill Berggren06/06/03 02:09
RE: My little tiffs && RE: PHP4/PHP5 - C/C++Gaetano Giunta06/03/03 08:39
RE: .net is bettermatrix05/29/03 16:45
This is so stupidExcorcist05/29/03 01:36
RE: no finally ?Eric Golpe05/22/03 08:36
RE: Look like Java to meBrandon Goodin05/21/03 19:27
no finally ?Norman Shu05/20/03 06:00
RE: .net is betterYonmaN05/20/03 03:16
RE: .net is betterIan05/16/03 17:01
RE: PHP's direction - reassuranceMichael Muryn05/14/03 22:14
Thank you! But when's it official?David Chen05/13/03 23:31
RE: .net is betterfeather05/09/03 15:40
Portability of PHP4 code to PHP5Etherel Johnson05/09/03 06:54
wat r they upto...aasim05/09/03 03:52
Aces specifiers for name spaceSaravanan05/09/03 03:38
RE: PHP4/PHP5 - C/C++Parla05/02/03 08:44
.net is betterJohn05/01/03 18:23
Divergion?jim caprioli04/30/03 10:42
RE: InterfacesLuis04/29/03 17:28
PHP5 ---> going SeriousCristovão Morgado04/23/03 13:30
Interfacesahundiak04/23/03 09:23
RE: Look like Java to meRegina04/22/03 09:50
RE: Look like Java to meScott R.S.04/20/03 17:24
RE: PHP-GTK & PHP5... XUL?Harry Fuecks04/20/03 13:20
It keeps getting better!Eric Golpe04/20/03 11:23
Love It!!Simon Johnson04/20/03 08:30
RE: PHP-GTK & PHP5John Starkey04/19/03 15:30
RE: Great!Sam Barnum04/18/03 21:42
RE: Look like Java to meJakes04/18/03 14:18
RE: Oh my god!Wil Hepworth04/17/03 10:18
My little tiffs && RE: PHP4/PHP5 - C/C++James Payne04/16/03 16:52
Constructor ChainingEd Williams04/16/03 11:32
RE: Look like Java to meJayant Kumar Gandhi04/16/03 11:15
RE: PHP's direction - reassuranceDavid Fung04/15/03 18:00
what's the problemgeoffrey golliher04/15/03 16:22
PHP-GTK & PHP5Jakes04/15/03 15:38
PHP's direction - reassuranceZeev Suraski04/15/03 08:39
RE: PHP4/PHP5 - C/C++Martin Braun04/15/03 06:29
RE: Look like Java to meNathan Trujillo04/14/03 23:27
RE: PHP4/PHP5 - C/C++Stefan Johnson04/14/03 17:13
PHP4/PHP5 - C/C++Jean-Marc Molina04/14/03 06:45
RE: Look like Java to meIan Holmes04/14/03 06:28
RE: Look like Java to meChris G Haravata04/13/03 19:29
Great!Edward Hermanson04/13/03 17:37
Hmmm...Edward Hermanson04/13/03 14:58
Look like Java to meJohn C. Ghormley04/13/03 11:28
RE: Oh my god!epplestun04/13/03 06:40
Oh my god!Marcel Swinkels04/12/03 07:01
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.

 

Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs