summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/zend_multibyte-07.phpt
blob: 21589c19cd1aa27af7c5e30e98f9ac1003308048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
zend multibyte (7)
--SKIP--
<?php
ini_set("mbstring.script_encoding", "SJIS");
ini_set("mbstring.script_encoding", "***") != "SJIS" or
	die("skip zend-multibyte is not available");
?>
--INI--
mbstring.script_encoding=ISO-8859-1
mbstring.internal_encoding=EUC-JP
--FILE--
<?php
declare(encoding="UTF-8");
var_dump(bin2hex("ใƒ†ใ‚นใƒˆ"));
?>
--EXPECT--
string(12) "a5c6a5b9a5c8"