mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
24 lines
444 B
Plaintext
24 lines
444 B
Plaintext
|
--TEST--
|
|||
|
test for mbstring script_encoding for flex unsafe encoding (Shift_JIS)
|
|||
|
--SKIPIF--
|
|||
|
<?php
|
|||
|
ini_set("mbstring.script_encoding","SJIS");
|
|||
|
if (ini_set("mbstring.script_encoding","SJIS") != "SJIS") {
|
|||
|
die("skip zend-multibyte is not available");
|
|||
|
}
|
|||
|
?>
|
|||
|
--INI--
|
|||
|
mbstring.script_encoding=Shift_JIS
|
|||
|
mbstring.internal_encoding=Shift_JIS
|
|||
|
--FILE--
|
|||
|
<?php
|
|||
|
function <20>\<5C>\<5C>\($<24><><EFBFBD><EFBFBD>)
|
|||
|
{
|
|||
|
echo $<24><><EFBFBD><EFBFBD>;
|
|||
|
}
|
|||
|
|
|||
|
<09>\<5C>\<5C>\("<22>h<EFBFBD><68><EFBFBD>~<7E>t<EFBFBD>@<40>\");
|
|||
|
?>
|
|||
|
--EXPECT--
|
|||
|
<EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>~<7E>t<EFBFBD>@<40>\
|