3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match('/[=cake=]/', 'foo'), PCRE_VERSION);

preferences:
9.94 ms | 408 KiB | 5 Q