3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_replace("/[^a-z0-9]+/i", "", "TEST TEST TEST");

preferences:
43.04 ms | 402 KiB | 5 Q