Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * SAPI dictionary for PHP_CompatInfo 1.9.0b2 or better
4
 *
5
 * PHP versions 4 and 5
6
 *
7
 * @category PHP
8
 * @package  PHP_CompatInfo
9
 * @author   Davey Shafik <davey@php.net>
10
 * @author   Laurent Laville <pear@laurent-laville.org>
11
 * @license  http://www.opensource.org/licenses/bsd-license.php  BSD
12
 * @version  CVS: $Id: sapi_array.php,v 1.1 2008/12/14 17:29:15 farell Exp $
13
 * @link     http://pear.php.net/package/PHP_CompatInfo
14
 * @since    version 1.9.0b2 (2008-12-19)
15
 */
16
 
17
$sapi_name    = php_sapi_name();
18
$sapi_runtime = '_PHP_COMPATINFO_SAPI_' . strtoupper($sapi_name);
19
 
20
require_once 'PHP/CompatInfo/'.$sapi_name.'_sapi_array.php';
21
 
22
/**
23
 * Predefined SAPI Functions
24
 *
25
 * @global array $GLOBALS['_PHP_COMPATINFO_SAPI']
26
 */
27
 
28
$GLOBALS['_PHP_COMPATINFO_SAPI'] = $GLOBALS[$sapi_runtime];
29
?>