3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php Print_r(token_get_all(__FILE__)); // <?xml version="1.0" encoding="UTF-8"?> // foo echo 123;
based on CNZr3
Output for 7.0.0 - 7.2.0
Array ( [0] => Array ( [0] => 321 [1] => /in/ASdMQ [2] => 1 ) ) // foo echo 123;
Output for 5.6.0 - 5.6.28
Array ( [0] => Array ( [0] => 314 [1] => /in/ASdMQ [2] => 1 ) ) // foo echo 123;
Output for 5.5.0 - 5.5.38
Array ( [0] => Array ( [0] => 312 [1] => /in/ASdMQ [2] => 1 ) ) // foo echo 123;
Output for 5.4.0 - 5.4.45
Array ( [0] => Array ( [0] => 311 [1] => /in/ASdMQ [2] => 1 ) ) // foo echo 123;