cvs: pear /PHP_CompatInfo/data const_array.php
| From: | Davey Shafik | Date: | Mon, 21 Feb 2005 07:24:50 +0000 |
| Subject: | cvs: pear /PHP_CompatInfo/data const_array.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29608@lists.php.net to get a copy of this message | ||
davey Mon Feb 21 02:24:50 2005 EDT
Modified files:
/pear/PHP_CompatInfo/data const_array.php
Log:
* Now contains all new PHP5 tokens
http://cvs.php.net/diff.php/pear/PHP_CompatInfo/data/const_array.php?r1=1.3&r2=1.4&ty=u
Index: pear/PHP_CompatInfo/data/const_array.php
diff -u pear/PHP_CompatInfo/data/const_array.php:1.3 pear/PHP_CompatInfo/data/const_array.php:1.4
--- pear/PHP_CompatInfo/data/const_array.php:1.3 Mon Feb 21 01:00:58 2005
+++ pear/PHP_CompatInfo/data/const_array.php Mon Feb 21 02:24:50 2005
@@ -1,17 +1,110 @@
-<?php
-$const['tokens'][] = T_FILE;
-$const['tokens'][] = T_LINE;
-$const['tokens'][] = T_FUNC_C;
-$const['tokens'][] = T_CLASS_C;
-$const['tokens'][] = T_METHOD_C;
-$const[T_FILE]['init'] = '4.0.0';
-$const[T_FILE]['name'] = '__FILE__';
-$const[T_LINE]['init'] = '4.0.0';
-$const[T_LINE]['name'] = '__LINE__';
-$const[T_FUNC_C]['init'] = '4.3.0';
-$const[T_FUNC_C]['name'] = '__FUNCTION__';
-$const[T_CLASS_C]['init'] = '4.3.0';
-$const[T_CLASS_C]['name'] = '__CLASS__';
-@$const[T_METHOD_C]['name'] = '__METHOD__';
-@$const[T_METHOD_C]['init'] = '5.0.0';
+<?php
+$GLOBALS['const'] = array (
+ 'tokens' =>
+ array (
+ 0 => 363,
+ 1 => 362,
+ 2 => 361,
+ 3 => 359,
+ 4 => 360,
+ 5 => 345,
+ 6 => 337,
+ 7 => 344,
+ 8 => 288,
+ 9 => 343,
+ 10 => 342,
+ 11 => 341,
+ 12 => 338,
+ 13 => 336,
+ 14 => 298,
+ 15 => 352,
+ 16 => 354,
+ ),
+ 363 =>
+ array (
+ 'init' => '4.0.0',
+ 'name' => '__FILE__',
+ ),
+ 362 =>
+ array (
+ 'init' => '4.0.0',
+ 'name' => '__LINE__',
+ ),
+ 361 =>
+ array (
+ 'init' => '4.3.0',
+ 'name' => '__FUNCTION__',
+ ),
+ 359 =>
+ array (
+ 'init' => '4.3.0',
+ 'name' => '__CLASS__',
+ ),
+ 360 =>
+ array (
+ 'name' => '__METHOD__',
+ 'init' => '5.0.0',
+ ),
+ 345 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'abstract',
+ ),
+ 337 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'catch',
+ ),
+ 344 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'final',
+ ),
+ 288 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'instanceof',
+ ),
+ 343 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'private',
+ ),
+ 342 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'protected',
+ ),
+ 341 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'public',
+ ),
+ 338 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'throw',
+ ),
+ 336 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'try',
+ ),
+ 298 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'clone',
+ ),
+ 352 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'interface',
+ ),
+ 354 =>
+ array (
+ 'init' => '5.0.0',
+ 'name' => 'implements',
+ ),
+);
+
?>
\ No newline at end of file