3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tokens = token_get_all('<?php $str = \'$begin\'.\'en\'."eind"; ?>'); var_dump(T_CONSTANT_ENCAPSED_STRING, $tokens);

preferences:
35.31 ms | 402 KiB | 5 Q