summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/014.inc
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-03-13 18:39:43 +0000
committerSVN Migration <svn@php.net>2002-03-13 18:39:43 +0000
commit8d6817e7f142091b1c30de30f349c3fde9d7e094 (patch)
tree45704599905d4a7445ad446fc5337374a3390dbf /ext/mbstring/tests/014.inc
parent94e6810a2a3e189cf729bdbae8f45cd9d7987ad6 (diff)
downloadphp-git-help.tar.gz
This commit was manufactured by cvs2svn to create tag 'help'.help
Diffstat (limited to 'ext/mbstring/tests/014.inc')
-rw-r--r--ext/mbstring/tests/014.inc22
1 files changed, 0 insertions, 22 deletions
diff --git a/ext/mbstring/tests/014.inc b/ext/mbstring/tests/014.inc
deleted file mode 100644
index 72148ee13d..0000000000
--- a/ext/mbstring/tests/014.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-// TODO: Add more encoding
-//$debug = true;
-ini_set('include_path','.');
-include_once('common.inc');
-
-// EUC-JP
-$euc_jp = '0123この文字列は日本語です。EUC-JPを使っています。日本語は面倒臭い。';
-
-print "1: ". mb_strimwidth($euc_jp, 0, 15,'...','EUC-JP') . "\n";
-print "2: ". mb_strimwidth($euc_jp, 0, 100,'...','EUC-JP') . "\n";
-print "3: ". mb_strimwidth($euc_jp, 15, 100,'...','EUC-JP') . "\n";
-// Note: Did not start form -22 offset. Staring from 0.
-print "4: ". mb_strimwidth($euc_jp,-22, 100,'...','EUC-JP') . "\n";
-
-$str = mb_strimwidth($euc_jp, 100, -10,'...','EUC-JP');
-($str === "") ? print "5 OK\n" : print "NG: $str\n";
-
-$str = mb_strimwidth($euc_jp, -100, 10,'...','EUC-JP');
-($str !== "") ? print "6 OK: $str\n" : print "NG: $str\n";
-
-?>