Update strsearch.php

Re-done code using procedural code with php memcmp alternative.