3v4l.org

run code in 300+ PHP versions simultaneously
<?php return \preg_match('/a/', $var);

preferences:
10.41 ms | 407 KiB | 5 Q