Annotation of embedaddon/php/Zend/tests/multibyte/multibyte_encoding_004.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: test for mbstring script_encoding for flex unsafe encoding (Shift_JIS)
3: --SKIPIF--
4: <?php
5: if (!in_array("detect_unicode", array_keys(ini_get_all()))) {
6: die("skip Requires configure --enable-zend-multibyte option");
7: }
8: if (!extension_loaded("mbstring")) {
9: die("skip Requires mbstring extension");
10: }
11: ?>
12: --INI--
13: mbstring.script_encoding=Shift_JIS
14: mbstring.internal_encoding=Shift_JIS
15: --FILE--
16: <?php
17: function 予蚕能($引数)
18: {
19: echo $引数;
20: }
21:
22: 予蚕能("ドレミファソ");
23: ?>
24: --EXPECT--
25: ドレミファソ
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>