3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "this test"; echo preg_match('/this/', $a);

preferences:
39.82 ms | 402 KiB | 5 Q