"Upcoming conferences", "cfp" => "Calling for papers"); $teaser = '
  • '."\n"; $PRE_DATA = $teaser; } // }}} // Write out common header {{{ site_header("Hypertext Preprocessor", array( 'onload' => 'boldEvents();', 'headtags' => '', 'link' => array( array( "rel" => "search", "type" => "application/opensearchdescription+xml", "href" => $MYSITE . "phpnetimprovedsearch.src", "title" => "Add PHP.net search" ), array( "rel" => "alternate", "type" => "application/atom+xml", "href" => $MYSITE . "releases.atom", "title" => "PHP Release feed" ), ), ) ); // }}} // {{{ Left sidebar ("What is PHP" & "Thanks to") column_box(COLUMN_LEFT); ?>

    What is PHP?

    PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.

    Thanks To

    Syndication

    You can grab our news as an Atom feed.

    News Archive

    '; column(); // }}} // Right column (releases/events..) {{{ column_box(COLUMN_RIGHT, true, array("classes" => array("block" => array("releases")))); $MIRROR_IMAGE = ''; // Try to find a sponsor image in case this is an official mirror {{{ if (is_official_mirror()) { // Iterate through possible mirror provider logo types in priority order $types = array("gif", "jpg", "png"); while (list(,$ext) = each($types)) { // Check if file exists for this type if (file_exists("backend/mirror." . $ext)) { // Add text to rigth sidebar $MIRROR_IMAGE = "

    This mirror sponsored by:

    \n"; // Create image HTML code $img = make_image( 'mirror.' . $ext, htmlspecialchars(mirror_provider()), FALSE, FALSE, 'backend', 0 ); // Add size information depending on mirror type if (is_primary_site() || is_backup_primary()) { $img = resize_image($img, 125, 125); } else { $img = resize_image($img, 120, 60); } // End mirror specific part $MIRROR_IMAGE .= '' . $img . "


    \n"; // We have found an image break; } } } // }}} // {{{ Generate latest release info list($PHP_5_STABLE, ) = each($RELEASES[5]); $PHP_5_RC = null; /* Do we have any release candidates to brag about? */ if (count($RELEASES[5])>1) { list($PHP_5_RC, ) = each($RELEASES[5]); } ?>

    Stable releases

    Current PHP 5 Stable:

    Download

    Historical PHP Stable: 4.4.9

    Release Candidates

    Download area »

    Upcoming Events

    Events Calendar

    Add event »

    "/feed.atom") // Add a link to the feed at the bottom );