Lines Matching refs:EUC
16 $slen = mb_strlen($euc_jp, 'EUC-JP');
19 // EUC-JP - With encoding parameter
24 print mb_strpos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", 0, 'EUC-JP') . "\n";
25 print mb_strpos($euc_jp, '0', 0, 'EUC-JP') . "\n";
26 print mb_strpos($euc_jp, 3, 0, 'EUC-JP') . "\n";
27 print mb_strpos($euc_jp, 0, 0, 'EUC-JP') . "\n";
28 print mb_strpos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", 15, 'EUC-JP') . "\n";
29 print mb_strpos($euc_jp, '0', 15, 'EUC-JP') . "\n";
30 print mb_strpos($euc_jp, 3, 15, 'EUC-JP') . "\n";
31 print mb_strpos($euc_jp, 0, 15, 'EUC-JP') . "\n";
37 print mb_strpos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", -15, 'EUC-JP') . "\n";
38 print mb_strpos($euc_jp, '0', -15, 'EUC-JP') . "\n";
39 print mb_strpos($euc_jp, 3, -15, 'EUC-JP') . "\n";
40 print mb_strpos($euc_jp, 0, -15, 'EUC-JP') . "\n";
41 print mb_strpos($euc_jp, 0, -43, 'EUC-JP') . "\n";
47 $r = mb_strpos($euc_jp, "\xB4\xDA\xB9\xF1\xB8\xEC", 0, 'EUC-JP');
49 $r = mb_strpos($euc_jp, "\n", 0, 'EUC-JP');
53 // EUC-JP - No encoding parameter
56 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");
68 // EUC-JP - No offset and encoding parameter
71 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");