1
An overview of PHP
Cristian Bogdan
What is PHP
• PHP: Hypertext Processor (or Personal Home Page?)
• This lecture goes through the doc: http://www.php.net/manual/en/
• Interpreted language
– Easy to get something done fast
– Problems when size and complexity grow
– Performance penalty (though addressed in later Zend engine)
• A number of PHP organisations and hosting services around the
net.
• A huge catalogue of features developped by volunteers
• A wide user community definately happy that they not only can
program, but they also can program for the internet…
• Language in evolution… PHP 5 adds exception handling. OOP is
also an add-on since PHP4, PHP5 perfects it
– most OOP concepts and keywords are like in java: class, extends,
interface, private, protected, etc
– exceptions are like in Java (try/catch, etc)
评论0