Php Check If String Includes Substring In Cpp