3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '<?php public function enum($value, ...$items) {}'; $tokens = token_get_all($string); print_r($tokens);
based on Do8JP