3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(token_get_all("<?php if (0 === 1) {} elseif (1 === 2) {} else {}")); var_dump(token_get_all("<?php if (0 === 1) {} else if (1 === 2) {} else {}"));
Output for 7.0.0 - 7.1.0
array(31) { [0]=> array(3) { [0]=> int(379) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(327) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(317) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(287) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(317) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(308) [1]=> string(6) "elseif" [2]=> int(1) } [15]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [16]=> string(1) "(" [17]=> array(3) { [0]=> int(317) [1]=> string(1) "1" [2]=> int(1) } [18]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [19]=> array(3) { [0]=> int(287) [1]=> string(3) "===" [2]=> int(1) } [20]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(317) [1]=> string(1) "2" [2]=> int(1) } [22]=> string(1) ")" [23]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [27]=> array(3) { [0]=> int(309) [1]=> string(4) "else" [2]=> int(1) } [28]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(3) { [0]=> int(379) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(327) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(317) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(287) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(317) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(309) [1]=> string(4) "else" [2]=> int(1) } [15]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [16]=> array(3) { [0]=> int(327) [1]=> string(2) "if" [2]=> int(1) } [17]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [18]=> string(1) "(" [19]=> array(3) { [0]=> int(317) [1]=> string(1) "1" [2]=> int(1) } [20]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(287) [1]=> string(3) "===" [2]=> int(1) } [22]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [23]=> array(3) { [0]=> int(317) [1]=> string(1) "2" [2]=> int(1) } [24]=> string(1) ")" [25]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [29]=> array(3) { [0]=> int(309) [1]=> string(4) "else" [2]=> int(1) } [30]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(1) } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 5.3.0 - 5.3.29, hhvm-3.10.0 - 3.12.0
array(31) { [0]=> array(3) { [0]=> int(368) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(302) [1]=> string(6) "elseif" [2]=> int(1) } [15]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [16]=> string(1) "(" [17]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [18]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [19]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [20]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(305) [1]=> string(1) "2" [2]=> int(1) } [22]=> string(1) ")" [23]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [27]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [28]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(3) { [0]=> int(368) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [15]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [16]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [17]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [18]=> string(1) "(" [19]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [20]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [22]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [23]=> array(3) { [0]=> int(305) [1]=> string(1) "2" [2]=> int(1) } [24]=> string(1) ")" [25]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [29]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [30]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(1) } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 5.6.0 - 5.6.28
array(31) { [0]=> array(3) { [0]=> int(376) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(304) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(308) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(283) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(308) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(305) [1]=> string(6) "elseif" [2]=> int(1) } [15]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [16]=> string(1) "(" [17]=> array(3) { [0]=> int(308) [1]=> string(1) "1" [2]=> int(1) } [18]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [19]=> array(3) { [0]=> int(283) [1]=> string(3) "===" [2]=> int(1) } [20]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(308) [1]=> string(1) "2" [2]=> int(1) } [22]=> string(1) ")" [23]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [27]=> array(3) { [0]=> int(306) [1]=> string(4) "else" [2]=> int(1) } [28]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(3) { [0]=> int(376) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(304) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(308) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(283) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(308) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(306) [1]=> string(4) "else" [2]=> int(1) } [15]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [16]=> array(3) { [0]=> int(304) [1]=> string(2) "if" [2]=> int(1) } [17]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [18]=> string(1) "(" [19]=> array(3) { [0]=> int(308) [1]=> string(1) "1" [2]=> int(1) } [20]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(283) [1]=> string(3) "===" [2]=> int(1) } [22]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [23]=> array(3) { [0]=> int(308) [1]=> string(1) "2" [2]=> int(1) } [24]=> string(1) ")" [25]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [29]=> array(3) { [0]=> int(306) [1]=> string(4) "else" [2]=> int(1) } [30]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(1) } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 5.5.0 - 5.5.36
array(31) { [0]=> array(3) { [0]=> int(374) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(302) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(306) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(282) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(306) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(303) [1]=> string(6) "elseif" [2]=> int(1) } [15]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [16]=> string(1) "(" [17]=> array(3) { [0]=> int(306) [1]=> string(1) "1" [2]=> int(1) } [18]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [19]=> array(3) { [0]=> int(282) [1]=> string(3) "===" [2]=> int(1) } [20]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(306) [1]=> string(1) "2" [2]=> int(1) } [22]=> string(1) ")" [23]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [27]=> array(3) { [0]=> int(304) [1]=> string(4) "else" [2]=> int(1) } [28]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(3) { [0]=> int(374) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(302) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(306) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(282) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(306) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(304) [1]=> string(4) "else" [2]=> int(1) } [15]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [16]=> array(3) { [0]=> int(302) [1]=> string(2) "if" [2]=> int(1) } [17]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [18]=> string(1) "(" [19]=> array(3) { [0]=> int(306) [1]=> string(1) "1" [2]=> int(1) } [20]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(282) [1]=> string(3) "===" [2]=> int(1) } [22]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [23]=> array(3) { [0]=> int(306) [1]=> string(1) "2" [2]=> int(1) } [24]=> string(1) ")" [25]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [29]=> array(3) { [0]=> int(304) [1]=> string(4) "else" [2]=> int(1) } [30]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(1) } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 5.4.0 - 5.4.45
array(31) { [0]=> array(3) { [0]=> int(372) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(302) [1]=> string(6) "elseif" [2]=> int(1) } [15]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [16]=> string(1) "(" [17]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [18]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [19]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [20]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(305) [1]=> string(1) "2" [2]=> int(1) } [22]=> string(1) ")" [23]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [27]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [28]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(3) { [0]=> int(372) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [15]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [16]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [17]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [18]=> string(1) "(" [19]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [20]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [22]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [23]=> array(3) { [0]=> int(305) [1]=> string(1) "2" [2]=> int(1) } [24]=> string(1) ")" [25]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [29]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [30]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(1) } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 5.2.2 - 5.2.17
array(31) { [0]=> array(3) { [0]=> int(367) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(302) [1]=> string(6) "elseif" [2]=> int(1) } [15]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [16]=> string(1) "(" [17]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [18]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [19]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [20]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(305) [1]=> string(1) "2" [2]=> int(1) } [22]=> string(1) ")" [23]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [27]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [28]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(3) { [0]=> int(367) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [2]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [3]=> string(1) "(" [4]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(1) } [5]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [6]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [7]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [8]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [9]=> string(1) ")" [10]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [14]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [15]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [16]=> array(3) { [0]=> int(301) [1]=> string(2) "if" [2]=> int(1) } [17]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [18]=> string(1) "(" [19]=> array(3) { [0]=> int(305) [1]=> string(1) "1" [2]=> int(1) } [20]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [21]=> array(3) { [0]=> int(281) [1]=> string(3) "===" [2]=> int(1) } [22]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [23]=> array(3) { [0]=> int(305) [1]=> string(1) "2" [2]=> int(1) } [24]=> string(1) ")" [25]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [29]=> array(3) { [0]=> int(303) [1]=> string(4) "else" [2]=> int(1) } [30]=> array(3) { [0]=> int(370) [1]=> string(1) " " [2]=> int(1) } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 5.1.0 - 5.2.1
array(31) { [0]=> array(2) { [0]=> int(367) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(301) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(305) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(305) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(302) [1]=> string(6) "elseif" } [15]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [16]=> string(1) "(" [17]=> array(2) { [0]=> int(305) [1]=> string(1) "1" } [18]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [19]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [20]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(305) [1]=> string(1) "2" } [22]=> string(1) ")" [23]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [27]=> array(2) { [0]=> int(303) [1]=> string(4) "else" } [28]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(2) { [0]=> int(367) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(301) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(305) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(305) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(303) [1]=> string(4) "else" } [15]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [16]=> array(2) { [0]=> int(301) [1]=> string(2) "if" } [17]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [18]=> string(1) "(" [19]=> array(2) { [0]=> int(305) [1]=> string(1) "1" } [20]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [22]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [23]=> array(2) { [0]=> int(305) [1]=> string(1) "2" } [24]=> string(1) ")" [25]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [29]=> array(2) { [0]=> int(303) [1]=> string(4) "else" } [30]=> array(2) { [0]=> int(370) [1]=> string(1) " " } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 5.0.0 - 5.0.5
array(31) { [0]=> array(2) { [0]=> int(365) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(300) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(304) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(304) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(301) [1]=> string(6) "elseif" } [15]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [16]=> string(1) "(" [17]=> array(2) { [0]=> int(304) [1]=> string(1) "1" } [18]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [19]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [20]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(304) [1]=> string(1) "2" } [22]=> string(1) ")" [23]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [27]=> array(2) { [0]=> int(302) [1]=> string(4) "else" } [28]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(2) { [0]=> int(365) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(300) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(304) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(304) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(302) [1]=> string(4) "else" } [15]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [16]=> array(2) { [0]=> int(300) [1]=> string(2) "if" } [17]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [18]=> string(1) "(" [19]=> array(2) { [0]=> int(304) [1]=> string(1) "1" } [20]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [22]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [23]=> array(2) { [0]=> int(304) [1]=> string(1) "2" } [24]=> string(1) ")" [25]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [29]=> array(2) { [0]=> int(302) [1]=> string(4) "else" } [30]=> array(2) { [0]=> int(368) [1]=> string(1) " " } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 4.4.2 - 4.4.9
array(31) { [0]=> array(2) { [0]=> int(354) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(299) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(303) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(303) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(300) [1]=> string(6) "elseif" } [15]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [16]=> string(1) "(" [17]=> array(2) { [0]=> int(303) [1]=> string(1) "1" } [18]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [19]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [20]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(303) [1]=> string(1) "2" } [22]=> string(1) ")" [23]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [27]=> array(2) { [0]=> int(301) [1]=> string(4) "else" } [28]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(2) { [0]=> int(354) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(299) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(303) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(303) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(301) [1]=> string(4) "else" } [15]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [16]=> array(2) { [0]=> int(299) [1]=> string(2) "if" } [17]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [18]=> string(1) "(" [19]=> array(2) { [0]=> int(303) [1]=> string(1) "1" } [20]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [22]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [23]=> array(2) { [0]=> int(303) [1]=> string(1) "2" } [24]=> string(1) ")" [25]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [29]=> array(2) { [0]=> int(301) [1]=> string(4) "else" } [30]=> array(2) { [0]=> int(357) [1]=> string(1) " " } [31]=> string(1) "{" [32]=> string(1) "}" }
Output for 4.3.0 - 4.4.1
array(31) { [0]=> array(2) { [0]=> int(353) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(298) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(302) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(302) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(299) [1]=> string(6) "elseif" } [15]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [16]=> string(1) "(" [17]=> array(2) { [0]=> int(302) [1]=> string(1) "1" } [18]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [19]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [20]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(302) [1]=> string(1) "2" } [22]=> string(1) ")" [23]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [24]=> string(1) "{" [25]=> string(1) "}" [26]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [27]=> array(2) { [0]=> int(300) [1]=> string(4) "else" } [28]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [29]=> string(1) "{" [30]=> string(1) "}" } array(33) { [0]=> array(2) { [0]=> int(353) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(298) [1]=> string(2) "if" } [2]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [3]=> string(1) "(" [4]=> array(2) { [0]=> int(302) [1]=> string(1) "0" } [5]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [6]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [7]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [8]=> array(2) { [0]=> int(302) [1]=> string(1) "1" } [9]=> string(1) ")" [10]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [11]=> string(1) "{" [12]=> string(1) "}" [13]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [14]=> array(2) { [0]=> int(300) [1]=> string(4) "else" } [15]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [16]=> array(2) { [0]=> int(298) [1]=> string(2) "if" } [17]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [18]=> string(1) "(" [19]=> array(2) { [0]=> int(302) [1]=> string(1) "1" } [20]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [21]=> array(2) { [0]=> int(281) [1]=> string(3) "===" } [22]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [23]=> array(2) { [0]=> int(302) [1]=> string(1) "2" } [24]=> string(1) ")" [25]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [26]=> string(1) "{" [27]=> string(1) "}" [28]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [29]=> array(2) { [0]=> int(300) [1]=> string(4) "else" } [30]=> array(2) { [0]=> int(356) [1]=> string(1) " " } [31]=> string(1) "{" [32]=> string(1) "}" }