home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / PHP / CompatInfo / const_array.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  4.8 KB  |  246 lines

  1. <?php
  2. /**
  3.  * Constants for PHP_CompatInfo 1.1.1 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.php.net/license/3_01.txt  PHP License 3.01
  12.  * @version  CVS: $Id: const_array.php,v 1.11 2008/02/03 21:32:09 farell Exp $
  13.  * @link     http://pear.php.net/package/PHP_CompatInfo
  14.  * @global   array $GLOBALS['_PHP_COMPATINFO_CONST']
  15.  * @ignore
  16.  */
  17.  
  18. /**
  19.  * @link http://www.php.net/manual/en/reserved.constants.php
  20.  *       Core Predefined Constants
  21.  * @link http://www.php.net/manual/en/ref.datetime.php
  22.  *       Date Predefined Constants
  23.  * @link http://www.php.net/features.commandline
  24.  *       Using PHP from the command line: CLI specific Constants
  25.  * @link http://www.php.net/features.file-upload.errors
  26.  *       File Upload Error specific Constants
  27.  */
  28.  
  29. $GLOBALS['_PHP_COMPATINFO_CONST'] = array (
  30.   '__FILE__' =>
  31.   array (
  32.     'init' => '4.0.0',
  33.     'name' => '__FILE__',
  34.   ),
  35.   '__LINE__' =>
  36.   array (
  37.     'init' => '4.0.0',
  38.     'name' => '__LINE__',
  39.   ),
  40.   '__FUNCTION__' =>
  41.   array (
  42.     'init' => '4.3.0',
  43.     'name' => '__FUNCTION__',
  44.   ),
  45.   '__CLASS__' =>
  46.   array (
  47.     'init' => '4.3.0',
  48.     'name' => '__CLASS__',
  49.   ),
  50.   '__METHOD__' =>
  51.   array (
  52.     'name' => '__METHOD__',
  53.     'init' => '5.0.0',
  54.   ),
  55.   'ABSTRACT' =>
  56.   array (
  57.     'init' => '5.0.0',
  58.     'name' => 'abstract',
  59.   ),
  60.   'CATCH' =>
  61.   array (
  62.     'init' => '5.0.0',
  63.     'name' => 'catch',
  64.   ),
  65.   'FINAL' =>
  66.   array (
  67.     'init' => '5.0.0',
  68.     'name' => 'final',
  69.   ),
  70.   'INSTANCEOF' =>
  71.   array (
  72.     'init' => '5.0.0',
  73.     'name' => 'instanceof',
  74.   ),
  75.   'PRIVATE' =>
  76.   array (
  77.     'init' => '5.0.0',
  78.     'name' => 'private',
  79.   ),
  80.   'PROTECTED' =>
  81.   array (
  82.     'init' => '5.0.0',
  83.     'name' => 'protected',
  84.   ),
  85.   'PUBLIC' =>
  86.   array (
  87.     'init' => '5.0.0',
  88.     'name' => 'public',
  89.   ),
  90.   'THROW' =>
  91.   array (
  92.     'init' => '5.0.0',
  93.     'name' => 'throw',
  94.   ),
  95.   'TRY' =>
  96.   array (
  97.     'init' => '5.0.0',
  98.     'name' => 'try',
  99.   ),
  100.   'CLONE' =>
  101.   array (
  102.     'init' => '5.0.0',
  103.     'name' => 'clone',
  104.   ),
  105.   'INTERFACE' =>
  106.   array (
  107.     'init' => '5.0.0',
  108.     'name' => 'interface',
  109.   ),
  110.   'IMPLEMENTS' =>
  111.   array (
  112.     'init' => '5.0.0',
  113.     'name' => 'implements',
  114.   ),
  115.   'DATE_ATOM' =>
  116.   array (
  117.     'init' => '5.1.1',
  118.     'name' => 'DATE_ATOM',
  119.   ),
  120.   'DATE_COOKIE' =>
  121.   array (
  122.     'init' => '5.1.1',
  123.     'name' => 'DATE_COOKIE',
  124.   ),
  125.   'DATE_ISO8601' =>
  126.   array (
  127.     'init' => '5.1.1',
  128.     'name' => 'DATE_ISO8601',
  129.   ),
  130.   'DATE_RFC822' =>
  131.   array (
  132.     'init' => '5.1.1',
  133.     'name' => 'DATE_RFC822',
  134.   ),
  135.   'DATE_RFC850' =>
  136.   array (
  137.     'init' => '5.1.1',
  138.     'name' => 'DATE_RFC850',
  139.   ),
  140.   'DATE_RFC1036' =>
  141.   array (
  142.     'init' => '5.1.1',
  143.     'name' => 'DATE_RFC1036',
  144.   ),
  145.   'DATE_RFC1123' =>
  146.   array (
  147.     'init' => '5.1.1',
  148.     'name' => 'DATE_RFC1123',
  149.   ),
  150.   'DATE_RFC2822' =>
  151.   array (
  152.     'init' => '5.1.1',
  153.     'name' => 'DATE_RFC2822',
  154.   ),
  155.   'DATE_RFC3339' =>
  156.   array (
  157.     'init' => '5.1.3',
  158.     'name' => 'DATE_RFC3339',
  159.   ),
  160.   'DATE_RSS' =>
  161.   array (
  162.     'init' => '5.1.1',
  163.     'name' => 'DATE_RSS',
  164.   ),
  165.   'DATE_W3C' =>
  166.   array (
  167.     'init' => '5.1.1',
  168.     'name' => 'DATE_W3C',
  169.   ),
  170.   'PHP_EOL' =>
  171.   array (
  172.     'init' => '4.3.10',
  173.     'name' => 'PHP_EOL',
  174.   ),
  175.   'DIRECTORY_SEPARATOR' =>
  176.   array (
  177.     'init' => '4.0.6',
  178.     'name' => 'DIRECTORY_SEPARATOR',
  179.   ),
  180.   'E_STRICT' =>
  181.   array (
  182.     'init' => '5.0.0',
  183.     'name' => 'E_STRICT',
  184.   ),
  185.   'PATH_SEPARATOR' =>
  186.   array (
  187.     'init' => '4.3.0',
  188.     'name' => 'PATH_SEPARATOR',
  189.   ),
  190.   'STDIN' =>
  191.   array (
  192.     'init' => '4.3.0',
  193.     'name' => 'STDIN',
  194.   ),
  195.   'STDOUT' =>
  196.   array (
  197.     'init' => '4.3.0',
  198.     'name' => 'STDOUT',
  199.   ),
  200.   'STDERR' =>
  201.   array (
  202.     'init' => '4.3.0',
  203.     'name' => 'STDERR',
  204.   ),
  205.   'UPLOAD_ERR_OK' =>
  206.   array (
  207.     'init' => '4.3.0',
  208.     'name' => 'UPLOAD_ERR_OK',
  209.   ),
  210.   'UPLOAD_ERR_INI_SIZE' =>
  211.   array (
  212.     'init' => '4.3.0',
  213.     'name' => 'UPLOAD_ERR_INI_SIZE',
  214.   ),
  215.   'UPLOAD_ERR_FORM_SIZE' =>
  216.   array (
  217.     'init' => '4.3.0',
  218.     'name' => 'UPLOAD_ERR_FORM_SIZE',
  219.   ),
  220.   'UPLOAD_ERR_PARTIAL' =>
  221.   array (
  222.     'init' => '4.3.0',
  223.     'name' => 'UPLOAD_ERR_PARTIAL',
  224.   ),
  225.   'UPLOAD_ERR_NO_FILE' =>
  226.   array (
  227.     'init' => '4.3.0',
  228.     'name' => 'UPLOAD_ERR_NO_FILE',
  229.   ),
  230.   'UPLOAD_ERR_NO_TMP_DIR' =>
  231.   array (
  232.     'init' => '4.3.10',
  233.     'name' => 'UPLOAD_ERR_NO_TMP_DIR',
  234.   ),
  235.   'UPLOAD_ERR_CANT_WRITE' =>
  236.   array (
  237.     'init' => '5.1.0',
  238.     'name' => 'UPLOAD_ERR_CANT_WRITE',
  239.   ),
  240.   'UPLOAD_ERR_EXTENSION' =>
  241.   array (
  242.     'init' => '5.2.0',
  243.     'name' => 'UPLOAD_ERR_EXTENSION',
  244.   ),
  245. );
  246. ?>