3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(token_get_all('<?php 18446744073709551615; 0xFFFFFFFFFFFFFFFF; 01777777777777777777777; 0177777777777777777777787; 0b1111111111111111111111111111111111111111111111111111111111111111;'));
Output for 7.0.0 - 7.1.0
array(15) { [0]=> array(3) { [0]=> int(379) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(318) [1]=> string(20) "18446744073709551615" [2]=> int(1) } [2]=> string(1) ";" [3]=> array(3) { [0]=> int(382) [1]=> string(2) " " [2]=> int(1) } [4]=> array(3) { [0]=> int(318) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" [2]=> int(3) } [5]=> string(1) ";" [6]=> array(3) { [0]=> int(382) [1]=> string(2) " " [2]=> int(3) } [7]=> array(3) { [0]=> int(318) [1]=> string(23) "01777777777777777777777" [2]=> int(5) } [8]=> string(1) ";" [9]=> array(3) { [0]=> int(382) [1]=> string(2) " " [2]=> int(5) } [10]=> array(3) { [0]=> int(318) [1]=> string(25) "0177777777777777777777787" [2]=> int(7) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(382) [1]=> string(2) " " [2]=> int(7) } [13]=> array(3) { [0]=> int(318) [1]=> string(66) "0b1111111111111111111111111111111111111111111111111111111111111111" [2]=> int(9) } [14]=> string(1) ";" }
Output for 5.6.8 - 5.6.28
array(15) { [0]=> array(3) { [0]=> int(376) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(309) [1]=> string(20) "18446744073709551615" [2]=> int(1) } [2]=> string(1) ";" [3]=> array(3) { [0]=> int(379) [1]=> string(2) " " [2]=> int(1) } [4]=> array(3) { [0]=> int(309) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" [2]=> int(3) } [5]=> string(1) ";" [6]=> array(3) { [0]=> int(379) [1]=> string(2) " " [2]=> int(3) } [7]=> array(3) { [0]=> int(309) [1]=> string(23) "01777777777777777777777" [2]=> int(5) } [8]=> string(1) ";" [9]=> array(3) { [0]=> int(379) [1]=> string(2) " " [2]=> int(5) } [10]=> array(3) { [0]=> int(309) [1]=> string(25) "0177777777777777777777787" [2]=> int(7) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(379) [1]=> string(2) " " [2]=> int(7) } [13]=> array(3) { [0]=> int(309) [1]=> string(66) "0b1111111111111111111111111111111111111111111111111111111111111111" [2]=> int(9) } [14]=> string(1) ";" }
Output for 5.5.24 - 5.5.35
array(15) { [0]=> array(3) { [0]=> int(374) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(307) [1]=> string(20) "18446744073709551615" [2]=> int(1) } [2]=> string(1) ";" [3]=> array(3) { [0]=> int(377) [1]=> string(2) " " [2]=> int(1) } [4]=> array(3) { [0]=> int(307) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" [2]=> int(3) } [5]=> string(1) ";" [6]=> array(3) { [0]=> int(377) [1]=> string(2) " " [2]=> int(3) } [7]=> array(3) { [0]=> int(307) [1]=> string(23) "01777777777777777777777" [2]=> int(5) } [8]=> string(1) ";" [9]=> array(3) { [0]=> int(377) [1]=> string(2) " " [2]=> int(5) } [10]=> array(3) { [0]=> int(307) [1]=> string(25) "0177777777777777777777787" [2]=> int(7) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(377) [1]=> string(2) " " [2]=> int(7) } [13]=> array(3) { [0]=> int(307) [1]=> string(66) "0b1111111111111111111111111111111111111111111111111111111111111111" [2]=> int(9) } [14]=> string(1) ";" }
Output for 5.4.0 - 5.4.45
array(15) { [0]=> array(3) { [0]=> int(372) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(306) [1]=> string(20) "18446744073709551615" [2]=> int(1) } [2]=> string(1) ";" [3]=> array(3) { [0]=> int(375) [1]=> string(2) " " [2]=> int(1) } [4]=> array(3) { [0]=> int(306) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" [2]=> int(3) } [5]=> string(1) ";" [6]=> array(3) { [0]=> int(375) [1]=> string(2) " " [2]=> int(3) } [7]=> array(3) { [0]=> int(306) [1]=> string(23) "01777777777777777777777" [2]=> int(5) } [8]=> string(1) ";" [9]=> array(3) { [0]=> int(375) [1]=> string(2) " " [2]=> int(5) } [10]=> array(3) { [0]=> int(306) [1]=> string(25) "0177777777777777777777787" [2]=> int(7) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(375) [1]=> string(2) " " [2]=> int(7) } [13]=> array(3) { [0]=> int(306) [1]=> string(66) "0b1111111111111111111111111111111111111111111111111111111111111111" [2]=> int(9) } [14]=> string(1) ";" }
Output for 5.3.0 - 5.3.29
array(16) { [0]=> array(3) { [0]=> int(368) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(306) [1]=> string(20) "18446744073709551615" [2]=> int(1) } [2]=> string(1) ";" [3]=> array(3) { [0]=> int(371) [1]=> string(2) " " [2]=> int(1) } [4]=> array(3) { [0]=> int(306) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" [2]=> int(3) } [5]=> string(1) ";" [6]=> array(3) { [0]=> int(371) [1]=> string(2) " " [2]=> int(3) } [7]=> array(3) { [0]=> int(306) [1]=> string(23) "01777777777777777777777" [2]=> int(5) } [8]=> string(1) ";" [9]=> array(3) { [0]=> int(371) [1]=> string(2) " " [2]=> int(5) } [10]=> array(3) { [0]=> int(306) [1]=> string(25) "0177777777777777777777787" [2]=> int(7) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(371) [1]=> string(2) " " [2]=> int(7) } [13]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(9) } [14]=> array(3) { [0]=> int(307) [1]=> string(65) "b1111111111111111111111111111111111111111111111111111111111111111" [2]=> int(9) } [15]=> string(1) ";" }
Output for 5.2.2 - 5.2.17
array(16) { [0]=> array(3) { [0]=> int(367) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(306) [1]=> string(20) "18446744073709551615" [2]=> int(1) } [2]=> string(1) ";" [3]=> array(3) { [0]=> int(370) [1]=> string(2) " " [2]=> int(1) } [4]=> array(3) { [0]=> int(306) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" [2]=> int(3) } [5]=> string(1) ";" [6]=> array(3) { [0]=> int(370) [1]=> string(2) " " [2]=> int(3) } [7]=> array(3) { [0]=> int(306) [1]=> string(23) "01777777777777777777777" [2]=> int(5) } [8]=> string(1) ";" [9]=> array(3) { [0]=> int(370) [1]=> string(2) " " [2]=> int(5) } [10]=> array(3) { [0]=> int(306) [1]=> string(25) "0177777777777777777777787" [2]=> int(7) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(370) [1]=> string(2) " " [2]=> int(7) } [13]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(9) } [14]=> array(3) { [0]=> int(307) [1]=> string(65) "b1111111111111111111111111111111111111111111111111111111111111111" [2]=> int(9) } [15]=> string(1) ";" }
Output for 5.1.0 - 5.2.1
array(16) { [0]=> array(2) { [0]=> int(367) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(306) [1]=> string(20) "18446744073709551615" } [2]=> string(1) ";" [3]=> array(2) { [0]=> int(370) [1]=> string(2) " " } [4]=> array(2) { [0]=> int(306) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" } [5]=> string(1) ";" [6]=> array(2) { [0]=> int(370) [1]=> string(2) " " } [7]=> array(2) { [0]=> int(306) [1]=> string(23) "01777777777777777777777" } [8]=> string(1) ";" [9]=> array(2) { [0]=> int(370) [1]=> string(2) " " } [10]=> array(2) { [0]=> int(306) [1]=> string(25) "0177777777777777777777787" } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(370) [1]=> string(2) " " } [13]=> array(2) { [0]=> int(305) [1]=> string(1) "0" } [14]=> array(2) { [0]=> int(307) [1]=> string(65) "b1111111111111111111111111111111111111111111111111111111111111111" } [15]=> string(1) ";" }
Output for 5.0.0 - 5.0.5
array(16) { [0]=> array(2) { [0]=> int(365) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(305) [1]=> string(20) "18446744073709551615" } [2]=> string(1) ";" [3]=> array(2) { [0]=> int(368) [1]=> string(2) " " } [4]=> array(2) { [0]=> int(305) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" } [5]=> string(1) ";" [6]=> array(2) { [0]=> int(368) [1]=> string(2) " " } [7]=> array(2) { [0]=> int(305) [1]=> string(23) "01777777777777777777777" } [8]=> string(1) ";" [9]=> array(2) { [0]=> int(368) [1]=> string(2) " " } [10]=> array(2) { [0]=> int(305) [1]=> string(25) "0177777777777777777777787" } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(368) [1]=> string(2) " " } [13]=> array(2) { [0]=> int(304) [1]=> string(1) "0" } [14]=> array(2) { [0]=> int(306) [1]=> string(65) "b1111111111111111111111111111111111111111111111111111111111111111" } [15]=> string(1) ";" }
Output for 4.4.2 - 4.4.9
array(16) { [0]=> array(2) { [0]=> int(354) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(304) [1]=> string(20) "18446744073709551615" } [2]=> string(1) ";" [3]=> array(2) { [0]=> int(357) [1]=> string(2) " " } [4]=> array(2) { [0]=> int(304) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" } [5]=> string(1) ";" [6]=> array(2) { [0]=> int(357) [1]=> string(2) " " } [7]=> array(2) { [0]=> int(304) [1]=> string(23) "01777777777777777777777" } [8]=> string(1) ";" [9]=> array(2) { [0]=> int(357) [1]=> string(2) " " } [10]=> array(2) { [0]=> int(304) [1]=> string(25) "0177777777777777777777787" } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(357) [1]=> string(2) " " } [13]=> array(2) { [0]=> int(303) [1]=> string(1) "0" } [14]=> array(2) { [0]=> int(305) [1]=> string(65) "b1111111111111111111111111111111111111111111111111111111111111111" } [15]=> string(1) ";" }
Output for 4.3.0 - 4.4.1
array(16) { [0]=> array(2) { [0]=> int(353) [1]=> string(6) "<?php " } [1]=> array(2) { [0]=> int(303) [1]=> string(20) "18446744073709551615" } [2]=> string(1) ";" [3]=> array(2) { [0]=> int(356) [1]=> string(2) " " } [4]=> array(2) { [0]=> int(303) [1]=> string(18) "0xFFFFFFFFFFFFFFFF" } [5]=> string(1) ";" [6]=> array(2) { [0]=> int(356) [1]=> string(2) " " } [7]=> array(2) { [0]=> int(303) [1]=> string(23) "01777777777777777777777" } [8]=> string(1) ";" [9]=> array(2) { [0]=> int(356) [1]=> string(2) " " } [10]=> array(2) { [0]=> int(303) [1]=> string(25) "0177777777777777777777787" } [11]=> string(1) ";" [12]=> array(2) { [0]=> int(356) [1]=> string(2) " " } [13]=> array(2) { [0]=> int(302) [1]=> string(1) "0" } [14]=> array(2) { [0]=> int(304) [1]=> string(65) "b1111111111111111111111111111111111111111111111111111111111111111" } [15]=> string(1) ";" }