Lines Matching refs:mb_strimwidth
2 mb_strimwidth()
16 print "1: ". mb_strimwidth($euc_jp, 0, 15,'...','EUC-JP') . "\n";
17 print "2: ". mb_strimwidth($euc_jp, 0, 100,'...','EUC-JP') . "\n";
18 print "3: ". mb_strimwidth($euc_jp, 15, 100,'...','EUC-JP') . "\n";
19 print "4: ". mb_strimwidth($euc_jp, -30, 5,'...','EUC-JP') . "\n";
20 print "5: ". mb_strimwidth($euc_jp, 38, 5,'...','EUC-JP') . "\n";
21 print "6: ". mb_strimwidth($euc_jp, 38, -25,'...','EUC-JP') . "\n";
22 print "7: ". mb_strimwidth($euc_jp, -30, -25,'...','EUC-JP') . "\n";
25 var_dump(mb_strimwidth($euc_jp, 0, -100,'...','EUC-JP'));
30 var_dump(mb_strimwidth($euc_jp, 100, 10,'...','EUC-JP'));
35 var_dump(mb_strimwidth($euc_jp, -100, 10,'...','EUC-JP'));
40 var_dump(mb_strimwidth($euc_jp, -10, -12,'...','EUC-JP'));
55 mb_strimwidth(): Argument #3 ($width) is out of range
56 mb_strimwidth(): Argument #2 ($start) is out of range
57 mb_strimwidth(): Argument #2 ($start) is out of range
58 mb_strimwidth(): Argument #3 ($width) is out of range