mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
18 lines
358 B
PHP
18 lines
358 B
PHP
--TEST--
|
|
zend multibyte (4)
|
|
--SKIPIF--
|
|
<?php
|
|
ini_set("mbstring.script_encoding", "SJIS");
|
|
ini_set("mbstring.script_encoding", "***") != "SJIS" and
|
|
die("skip zend-multibyte is not available");
|
|
?>
|
|
--INI--
|
|
mbstring.script_encoding=CP932
|
|
mbstring.internal_encoding=UTF-8
|
|
--FILE--
|
|
<?php
|
|
var_dump(bin2hex("ƒeƒXƒg"));
|
|
?>
|
|
--EXPECT--
|
|
string(18) "e38386e382b9e38388"
|