Saturday, October 11, 2014

what is php?



ABOUT PHP:

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source server-side scripting language that is especially suited for web development and can be embedded directly into HTML. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features. The goal of the language is to allow web developers to write dynamically generated pages quickly.
            As of January 2013, PHP was installed on more than 2.1 million web servers. PHP was Originally developed by Rasmus Lerdorf in 1994. PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks.

PHP VERSION:

VERSION RELEASED DATE
1.0 8 June 1995
2.0 1 November 1997
3.0 6 June 1998
1.7 July 19, 2011
2.5 January 24, 2012
3.0 September 27, 2012
4.0 22 May 2000
4.1 10 December 2001
4.2 22 April 2002
4.3 27 December 2002
4.4 11 July 2005
5.0 13 July 2004
5.2 2 November 2006
5.3 30 June 2009
5.4 1 March 2012
5.5 20 June 2013

SYNTAX:

The following Hello world program is written in PHP code embedded in an HTML document:
 
<!DOCTYPE html>
<html>
    <head>
        <title>PHP Test</title>
    </head>
    <body>
        <?php echo '<p>Hello World</p>'; ?>
    </body>
</html>

No comments:

Post a Comment