Lines Matching refs:mb_strstr
2 mb_strstr()
15 var_dump(mb_strstr("あいうえおかきくけこ", "おかき"));
16 var_dump(mb_strstr("あいうえおかきくけこ", "おかき", false));
17 var_dump(mb_strstr("あいうえおかきくけこ", "おかき", true));
18 var_dump(FROM_EUC_JP(mb_strstr(EUC_JP("あいうえおかきくけこ"), EUC_JP("おかき"), false, "EUC-JP")));
19 var_dump(FROM_EUC_JP(mb_strstr(EUC_JP("あいうえおかきくけこ"), EUC_JP("おかき"), true, "EUC-JP")));
21 var_dump(FROM_EUC_JP(mb_strstr(EUC_JP("あいうえおかきくけこ"), EUC_JP("おかき"))));
22 var_dump(FROM_EUC_JP(mb_strstr(EUC_JP("あいうえおかきくけこ"), EUC_JP("おかき"), false)));
23 var_dump(FROM_EUC_JP(mb_strstr(EUC_JP("あいうえおかきくけこ"), EUC_JP("おかき"), true)));
25 // Regression test from when mb_strstr was being reimplemented
26 var_dump(bin2hex(mb_strstr("\xdd\x00", "", false, 'UTF-8')));
27 var_dump(bin2hex(mb_strstr("M\xff\xff\xff\x00", "\x00", false, "SJIS")));
31 var_dump(mb_strstr("\xf0start", "start", false, "UTF-8"));
32 var_dump(mb_strstr("\xf0start", "start", true, "UTF-8"));