3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (preg_match("/PhP2Aa/i", "PHP2aA is the web scripting language of choice.")) { echo "A match was found."; } else { echo "A match was not found."; }

preferences:
37.07 ms | 402 KiB | 5 Q