De L'esprit À La Machine L'approche Professo-Académique
De L'esprit À La Machine L'approche Professo-Académique
L'approche Professo-Académique
ZCE
Séances
Introduction Générale
Welcome to the world of PHP, one of the Web's most
popular programming languages. According to Netcraft
(www.netcraft.com), PHP was running on more than 254
million Web sites in July 2007
(http://www.php.net/usage.php). At the time of writing, it's
the sixth most popular programming language in the world
according to TIOBE
(http://www.tiobe.com/index.php/content/paperinfo/tpci/
), beaten only by Java, C, Objective-C, C++ and C#
PHP stands for PHP: Hypertext Preprocessor, which gives
you a good idea of its core purpose: to process information
and produce hypertext (HTML) as a result. (Developers love
recursive acronyms, and PHP: Hypertext Preprocessor is a
good example of one.)
One of the best things about PHP is the large number of
Internet service providers (ISPs) and Web hosting
companies that support it. Today hundreds of thousands of
developers are using PHP, and it's not surprising that there
are so many, considering that several million sites are
reported to have PHP installed.
What's more, the PHP engine can integrate with all common
Web servers, including Apache, Internet Information Server
(IIS), Zeus, and lighttpd.
Although PHP only started gaining popularity with Web
developers around 1998, it was created by Rasmus Lerdorf
way back in 1994. PHP started out as a set of simple tools
coded in the C language to replace the Perl scripts that
Rasmus was using on his personal home page (hence the
original meaning of the "PHP" acronym). He released PHP to
the general public in 1995, and called it PHP version 2.
<?php
echo "for God's sake"[6];
echo "<br />";
echo ["Apple", "Boy", "Cat", "Dog"][1];
?>
Output:
d
Boy
Easier class name resolution
echo myclass::class;
empty() supports arbitrary expressions
Support for the list() construct by a foreach loop
Support for non-scalar keys by a foreach loop
Iterator::key()
Improved GD extension
imageflip(), imagecrop() and imagecropauto()…
Deprecated features in PHP 5.5
ext/mysql
preg_replace()/e modifier
Mcrypt
Curlwrappers
Others : http://us1.php.net/migration55.new-features
Deprecated features in PHP 5.5
ext/mysql
preg_replace()/e modifier
Mcrypt
Curlwrappers
Others : http://us1.php.net/migration55.new-features