Contact: aviboots(AT)netvision.net.il
39,884 questions
51,810 answers
573 users
// int strripos(string $haystack , string $needle [, int $offset = 0 ]) $haystack = 'abcdabcd'; $needle = 'Bc'; echo strripos($haystack, $needle); /* run: 5 */
// int strripos(string $haystack , string $needle [, int $offset = 0 ]) $haystack = 'abcdabcd'; $needle = 'Bc'; $pos = strripos($haystack, $needle); if ($pos === false) echo "Not Found"; else echo "Found"; /* run: Found */