php-src/tests/unicode/encrt-JIS.phpt
2007-07-10 10:21:08 +00:00

19 lines
304 B
PHP
Executable File
Raw Blame History

--TEST--
declare script encoding (JIS)
--SKIPIF--
<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
unicode.output_encoding=CP866
--FILE--
<?php
declare(encoding="JIS");
function тест() {
echo "тест - ok\n";
}
тест();
?>
--EXPECT--
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> - ok