summaryrefslogtreecommitdiff
path: root/Zend/tests/multibyte/multibyte_encoding_004.phpt
blob: 124cd036de9e41ccc61938269b02913676923d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--TEST--
test for mbstring script_encoding for flex unsafe encoding (Shift_JIS)
--SKIPIF--
<?php
if (!extension_loaded("mbstring")) {
  die("skip Requires mbstring extension");
}
?>
--INI--
zend.multibyte=1
zend.script_encoding=Shift_JIS
internal_encoding=Shift_JIS
--FILE--
<?php
    function 予蚕能($引数)
    {
        echo $引数;
    }

    予蚕能("ドレミファソ");
?>
--EXPECT--
ドレミファソ