Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Intro to PHP + Oracle

Aug 17, 2008, 06:02 (0 Talkback[s])
(Other stories by Sean Hull)

"PHP also now supports a whole host of object oriented features, if that suits your fancy. You'll find abstract classes for prototyping, use of the final classes to prevent further subclassing. PHP also supports overloading, thus multiple functions with the same name but different parameters, allow the PHP interpreter to choose which function to call at runtime. You'll also find private and protected member variables as well as constructors, and destructors.

"PHP also has great exception handling with the TRY, CATCH & THROW syntax. An example of how you might use this might be if you were going to perform a division. You could put a TRY before it, then a CATCH section displaying an error if you divide by zero."

Complete Story

Related Stories: