php-src/tests/unicode/encrt-SJIS.phpt
2005-08-11 23:36:07 +00:00

18 lines
228 B
PHP
Executable File

--TEST--
declare script encoding (SJIS)
--INI--
unicode_semantics=on
unicode.output_encoding=CP866
--FILE--
<?php
declare(encoding="SJIS");
function „„„u„ƒ„„() {
echo "„„„u„ƒ„„ - ok\n";
}
„„„u„ƒ„„();
?>
--EXPECT--
â¥áâ - ok