翻译一句英文@@@!!!!!
strstr() returns the haystack from the first occurrence of a needle to the end
P.S.
strstr(string $haystack, mixed $needle) php函数
haystack needle 只是一种形象的象征而已,不必惊慌
needle in a haystack释义
1. Needle in a haystack: 大海捞针 | 海底针 | 大海里捞针 | 海底捞针
2. a needle in a haystack: 毫无希望地搜索
3. look for a needle in a haystack: 大海捞针 | 海里捞针 | 象大海捞针一样困难 | 大海里捞针
这是Google的翻译
strstr()返回从第一次出现了一针草垛进行到底
stristr(PHP 4, PHP 5)
stristr — Case-insensitive strstr()
Report a bug Description
string stristr ( string $haystack , mixed $needle [, bool $before_needle = false ] )
Returns all of haystack from the first occurrence of needle to the end.
Report a bug Parameters
haystack
The string to search in
needle
If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
before_needle
If TRUE, stristr() returns the part of the haystack before the first occurrence of the needle.
needle and haystack are examined in a case-insensitive manner.