Programming Languages38k+ stars

PHP

The PHP programming language - powering most of the web

Commit Details

Message
"Import PHP 3.0.8"
Author
Rasmus Lerdorf
Date
1999-07-19
Hash
819f8cbb545fdc1a9827d9a2d87fafcae87d3cf7

Fun Fact

PHP originally stood for "Personal Home Page". Rasmus created it to track visits to his online resume in 1994.

</>First Code

C
/*
   +----------------------------------------------------------------------+
   | PHP Version 3                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 1997-1999 PHP Development Team                         |
   +----------------------------------------------------------------------+
   | This source file is subject to version 2.00 of the PHP license      |
   +----------------------------------------------------------------------+
   | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca>                       |
   +----------------------------------------------------------------------+
 */

#include "php.h"
#include "php3_standard.h"

PHP_FUNCTION(phpinfo)
{
    php3_printf("<h1>PHP Version %s</h1>", PHP_VERSION);
}