Tips, Tricks and Tutorials PHP: The Danger of !strpos(‘something’, ‘something’) === FALSE February 26, 2014 by Craig Lotter No Comments I came across some search and replace PHP code that was working correctly if the search string sat in the middle or towards the end... Read More
CodeUnit PHP: Simple REGEX Quick Reference for use with preg_match Function November 30, 2011 by Craig Lotter No Comments As always, checking to see if one string is contained within another will always be faster using the strpos or strstr functions. However, for more... Read More