find text in php code example Example: php find text in variable if(strpos($comments, 'http://') !== false) {