3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ''; for ($i = 0; $i < 10000; $i++) { $string .= chr(rand(65, 122)); } echo "Calling preg_match()\n"; preg_match('/(\D|3)*/', $string); echo "It didn't broke php\n";

preferences:
37.7 ms | 402 KiB | 5 Q