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