<?php if (preg_match ("/PHP/", "PHP is the web scripting language of choice.")) { print "A match was found."; } else { print "A match was not found."; } ?>
<?php if (preg_match ("/PHP/", "PHP is the web scripting language of choice.")) { print "A match was found."; } else { print "A match was not found."; } ?>