Mega Code Archive

 
Categories / Php / Strings
 

Preg_match( ) calls and what they match

<?     if (preg_match("/php/i", "PHP")) {             print "Got match!\n";     } ?>