3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $code =<<<PHP_CODE <?php function test($a) { echo $a; } $a = 10; test($a); PHP_CODE; $tokens = token_get_all($code); var_dump($tokens); foreach ($tokens as $row) { if (is_numeric($row[0])) { echo token_name($row[0]), "\r\n"; } }
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: a in /in/Caq9S on line 5 Notice: Undefined variable: a in /in/Caq9S on line 6 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 10 array(24) { [0]=> array(3) { [0]=> int(379) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(346) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(319) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(328) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(382) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(317) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(319) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: a in /in/Caq9S on line 11 Notice: Undefined variable: a in /in/Caq9S on line 11 Notice: Undefined variable: a in /in/Caq9S on line 11 Notice: Undefined variable: a in /in/Caq9S on line 11 array(24) { [0]=> array(3) { [0]=> int(368) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(316) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(371) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(305) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.6.0 - 5.6.28
Notice: Undefined variable: a in /in/Caq9S on line 6 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 10 Notice: Undefined variable: a in /in/Caq9S on line 10 array(24) { [0]=> array(3) { [0]=> int(376) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(337) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(310) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(319) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(379) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(308) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(310) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.5.0 - 5.5.38
Notice: Undefined variable: a in /in/Caq9S on line 6 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 10 Notice: Undefined variable: a in /in/Caq9S on line 10 array(24) { [0]=> array(3) { [0]=> int(374) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(335) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(308) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(317) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(377) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(306) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(308) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.4.0 - 5.4.45
Notice: Undefined variable: a in /in/Caq9S on line 6 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 10 Notice: Undefined variable: a in /in/Caq9S on line 10 array(24) { [0]=> array(3) { [0]=> int(372) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(316) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(375) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(305) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.3.0 - 5.3.29
Notice: Undefined variable: a in /in/Caq9S on line 6 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 10 Notice: Undefined variable: a in /in/Caq9S on line 10 array(24) { [0]=> array(3) { [0]=> int(368) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(316) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(371) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(305) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.2.3 - 5.2.17
Notice: Undefined variable: a in /in/Caq9S on line 6 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 10 Notice: Undefined variable: a in /in/Caq9S on line 10 array(24) { [0]=> array(3) { [0]=> int(367) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(333) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(370) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(316) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(370) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(305) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.2.2
Notice: Undefined variable: a in /in/Caq9S on line 5 Notice: Undefined variable: a in /in/Caq9S on line 7 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 11 array(24) { [0]=> array(3) { [0]=> int(367) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(333) [1]=> string(8) "function" [2]=> int(2) } [2]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(2) } [3]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(2) } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(2) } [7]=> string(1) "{" [8]=> array(3) { [0]=> int(370) [1]=> string(5) " " [2]=> int(2) } [9]=> array(3) { [0]=> int(316) [1]=> string(4) "echo" [2]=> int(3) } [10]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(3) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(3) } [13]=> string(1) "}" [14]=> array(3) { [0]=> int(370) [1]=> string(3) " " [2]=> int(4) } [15]=> string(1) "=" [16]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(6) } [17]=> array(3) { [0]=> int(305) [1]=> string(2) "10" [2]=> int(6) } [18]=> string(1) ";" [19]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(6) } [20]=> array(3) { [0]=> int(307) [1]=> string(4) "test" [2]=> int(7) } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.1.0 - 5.2.1
Notice: Undefined variable: a in /in/Caq9S on line 5 Notice: Undefined variable: a in /in/Caq9S on line 7 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 11 array(24) { [0]=> array(2) { [0]=> int(367) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(333) [1]=> string(8) "function" } [2]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [3]=> array(2) { [0]=> int(307) [1]=> string(4) "test" } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [7]=> string(1) "{" [8]=> array(2) { [0]=> int(370) [1]=> string(5) " " } [9]=> array(2) { [0]=> int(316) [1]=> string(4) "echo" } [10]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [13]=> string(1) "}" [14]=> array(2) { [0]=> int(370) [1]=> string(3) " " } [15]=> string(1) "=" [16]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [17]=> array(2) { [0]=> int(305) [1]=> string(2) "10" } [18]=> string(1) ";" [19]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [20]=> array(2) { [0]=> int(307) [1]=> string(4) "test" } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: a in /in/Caq9S on line 5 Notice: Undefined variable: a in /in/Caq9S on line 7 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 11 array(24) { [0]=> array(2) { [0]=> int(365) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(332) [1]=> string(8) "function" } [2]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [3]=> array(2) { [0]=> int(306) [1]=> string(4) "test" } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [7]=> string(1) "{" [8]=> array(2) { [0]=> int(368) [1]=> string(5) " " } [9]=> array(2) { [0]=> int(315) [1]=> string(4) "echo" } [10]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [13]=> string(1) "}" [14]=> array(2) { [0]=> int(368) [1]=> string(3) " " } [15]=> string(1) "=" [16]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [17]=> array(2) { [0]=> int(304) [1]=> string(2) "10" } [18]=> string(1) ";" [19]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [20]=> array(2) { [0]=> int(306) [1]=> string(4) "test" } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: a in /in/Caq9S on line 5 Notice: Undefined variable: a in /in/Caq9S on line 7 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 11 array(24) { [0]=> array(2) { [0]=> int(365) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(332) [1]=> string(8) "function" } [2]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [3]=> array(2) { [0]=> int(306) [1]=> string(4) "test" } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [7]=> string(1) "{" [8]=> array(2) { [0]=> int(368) [1]=> string(5) " " } [9]=> array(2) { [0]=> int(315) [1]=> string(4) "echo" } [10]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [13]=> string(1) "}" [14]=> array(2) { [0]=> int(368) [1]=> string(3) " " } [15]=> string(1) "=" [16]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [17]=> array(2) { [0]=> int(304) [1]=> string(2) "10" } [18]=> string(1) ";" [19]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [20]=> array(2) { [0]=> int(306) [1]=> string(4) "test" } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 4.4.2 - 4.4.9
Notice: Undefined variable: a in /in/Caq9S on line 5 Notice: Undefined variable: a in /in/Caq9S on line 7 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 11 array(24) { [0]=> array(2) { [0]=> int(354) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(332) [1]=> string(8) "function" } [2]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [3]=> array(2) { [0]=> int(305) [1]=> string(4) "test" } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [7]=> string(1) "{" [8]=> array(2) { [0]=> int(357) [1]=> string(5) " " } [9]=> array(2) { [0]=> int(314) [1]=> string(4) "echo" } [10]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [13]=> string(1) "}" [14]=> array(2) { [0]=> int(357) [1]=> string(3) " " } [15]=> string(1) "=" [16]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [17]=> array(2) { [0]=> int(303) [1]=> string(2) "10" } [18]=> string(1) ";" [19]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [20]=> array(2) { [0]=> int(305) [1]=> string(4) "test" } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING
Output for 4.3.0 - 4.4.1
Notice: Undefined variable: a in /in/Caq9S on line 5 Notice: Undefined variable: a in /in/Caq9S on line 7 Notice: Undefined variable: a in /in/Caq9S on line 9 Notice: Undefined variable: a in /in/Caq9S on line 11 array(24) { [0]=> array(2) { [0]=> int(353) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(331) [1]=> string(8) "function" } [2]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [3]=> array(2) { [0]=> int(304) [1]=> string(4) "test" } [4]=> string(1) "(" [5]=> string(1) ")" [6]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [7]=> string(1) "{" [8]=> array(2) { [0]=> int(356) [1]=> string(5) " " } [9]=> array(2) { [0]=> int(313) [1]=> string(4) "echo" } [10]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [13]=> string(1) "}" [14]=> array(2) { [0]=> int(356) [1]=> string(3) " " } [15]=> string(1) "=" [16]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [17]=> array(2) { [0]=> int(302) [1]=> string(2) "10" } [18]=> string(1) ";" [19]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [20]=> array(2) { [0]=> int(304) [1]=> string(4) "test" } [21]=> string(1) "(" [22]=> string(1) ")" [23]=> string(1) ";" } T_OPEN_TAG T_FUNCTION T_WHITESPACE T_STRING T_WHITESPACE T_WHITESPACE T_ECHO T_WHITESPACE T_WHITESPACE T_WHITESPACE T_WHITESPACE T_LNUMBER T_WHITESPACE T_STRING