177 lines
3.5 KiB
PHP
177 lines
3.5 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* internal (PHP Core) Constant Exceptions dictionary for PHP_CompatInfo 1.9.0b2 or better
|
||
|
*
|
||
|
* PHP versions 5
|
||
|
*
|
||
|
* @category PHP
|
||
|
* @package PHP_CompatInfo
|
||
|
* @author Davey Shafik <davey@php.net>
|
||
|
* @author Laurent Laville <pear@laurent-laville.org>
|
||
|
* @license http://www.opensource.org/licenses/bsd-license.php BSD
|
||
|
* @version CVS: $Id: internal_const_exceptions.php,v 1.1 2008/12/28 19:53:22 farell Exp $
|
||
|
* @link http://pear.php.net/package/PHP_CompatInfo
|
||
|
* @link http://www.php.net/manual/en/reserved.constants.php
|
||
|
* @since version 1.9.0 (2009-01-19)
|
||
|
*/
|
||
|
|
||
|
$constant_exceptions['internal'] = array (
|
||
|
'E_RECOVERABLE_ERROR' =>
|
||
|
array (
|
||
|
'init' => '5.2.0',
|
||
|
'name' => 'E_RECOVERABLE_ERROR',
|
||
|
),
|
||
|
'E_STRICT' =>
|
||
|
array (
|
||
|
'init' => '5.0.0',
|
||
|
'name' => 'E_STRICT',
|
||
|
),
|
||
|
'PHP_DEBUG' =>
|
||
|
array (
|
||
|
'init' => '5.2.7',
|
||
|
'name' => 'PHP_DEBUG',
|
||
|
),
|
||
|
'PHP_EOL' =>
|
||
|
array (
|
||
|
'init' => '4.3.10',
|
||
|
'name' => 'PHP_EOL',
|
||
|
),
|
||
|
'PHP_EXTRA_VERSION' =>
|
||
|
array (
|
||
|
'init' => '5.2.7',
|
||
|
'name' => 'PHP_EXTRA_VERSION',
|
||
|
),
|
||
|
'PHP_INT_MAX' =>
|
||
|
array (
|
||
|
'init' => '4.4.0',
|
||
|
'name' => 'PHP_INT_MAX',
|
||
|
),
|
||
|
'PHP_INT_SIZE' =>
|
||
|
array (
|
||
|
'init' => '4.4.0',
|
||
|
'name' => 'PHP_INT_SIZE',
|
||
|
),
|
||
|
'PHP_MAJOR_VERSION' =>
|
||
|
array (
|
||
|
'init' => '5.2.7',
|
||
|
'name' => 'PHP_MAJOR_VERSION',
|
||
|
),
|
||
|
'PHP_MINOR_VERSION' =>
|
||
|
array (
|
||
|
'init' => '5.2.7',
|
||
|
'name' => 'PHP_MINOR_VERSION',
|
||
|
),
|
||
|
'PHP_PREFIX' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'PHP_PREFIX',
|
||
|
),
|
||
|
'PHP_RELEASE_VERSION' =>
|
||
|
array (
|
||
|
'init' => '5.2.7',
|
||
|
'name' => 'PHP_RELEASE_VERSION',
|
||
|
),
|
||
|
'PHP_SAPI' =>
|
||
|
array (
|
||
|
'init' => '4.2.0',
|
||
|
'name' => 'PHP_SAPI',
|
||
|
),
|
||
|
'PHP_SHLIB_SUFFIX' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'PHP_SHLIB_SUFFIX',
|
||
|
),
|
||
|
'PHP_VERSION_ID' =>
|
||
|
array (
|
||
|
'init' => '5.2.7',
|
||
|
'name' => 'PHP_VERSION_ID',
|
||
|
),
|
||
|
'PHP_ZTS' =>
|
||
|
array (
|
||
|
'init' => '5.2.7',
|
||
|
'name' => 'PHP_ZTS',
|
||
|
),
|
||
|
'STDERR' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'STDERR',
|
||
|
),
|
||
|
'STDIN' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'STDIN',
|
||
|
),
|
||
|
'STDOUT' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'STDOUT',
|
||
|
),
|
||
|
'UPLOAD_ERR_CANT_WRITE' =>
|
||
|
array (
|
||
|
'init' => '5.1.0',
|
||
|
'name' => 'UPLOAD_ERR_CANT_WRITE',
|
||
|
),
|
||
|
'UPLOAD_ERR_EXTENSION' =>
|
||
|
array (
|
||
|
'init' => '5.2.0',
|
||
|
'name' => 'UPLOAD_ERR_EXTENSION',
|
||
|
),
|
||
|
'UPLOAD_ERR_FORM_SIZE' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'UPLOAD_ERR_FORM_SIZE',
|
||
|
),
|
||
|
'UPLOAD_ERR_INI_SIZE' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'UPLOAD_ERR_INI_SIZE',
|
||
|
),
|
||
|
'UPLOAD_ERR_NO_FILE' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'UPLOAD_ERR_NO_FILE',
|
||
|
),
|
||
|
'UPLOAD_ERR_NO_TMP_DIR' =>
|
||
|
array (
|
||
|
'init' => '4.3.10',
|
||
|
'name' => 'UPLOAD_ERR_NO_TMP_DIR',
|
||
|
),
|
||
|
'UPLOAD_ERR_OK' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'UPLOAD_ERR_OK',
|
||
|
),
|
||
|
'UPLOAD_ERR_PARTIAL' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => 'UPLOAD_ERR_PARTIAL',
|
||
|
),
|
||
|
// @link http://www.php.net/manual/en/language.constants.predefined.php
|
||
|
// Magic constants
|
||
|
'__CLASS__' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => '__CLASS__',
|
||
|
),
|
||
|
'__FILE__' =>
|
||
|
array (
|
||
|
'init' => '4.0.0',
|
||
|
'name' => '__FILE__',
|
||
|
),
|
||
|
'__FUNCTION__' =>
|
||
|
array (
|
||
|
'init' => '4.3.0',
|
||
|
'name' => '__FUNCTION__',
|
||
|
),
|
||
|
'__LINE__' =>
|
||
|
array (
|
||
|
'init' => '4.0.0',
|
||
|
'name' => '__LINE__',
|
||
|
),
|
||
|
'__METHOD__' =>
|
||
|
array (
|
||
|
'name' => '__METHOD__',
|
||
|
'init' => '5.0.0',
|
||
|
),
|
||
|
);
|
||
|
?>
|