3v4l.org

run code in 200+ php & hhvm versions
<?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; }
based on ricG3
Output for 7.1.25 - 7.3.4
what is "this <? echo str_replace ':' '', 'cool');