3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<STRING what is \"this <? echo str_replace(':',\" '', 'cool'); STRING; foreach (array_column(token_get_all($string), 1) as $token) { echo $token, PHP_EOL; }

preferences:
15.01 ms | 402 KiB | 5 Q