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

19 lines
296 B
PHP
Executable File

--TEST--
declare script encoding (HZ)
--SKIPIF--
<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
--INI--
unicode.output_encoding=CP866
--FILE--
<?php
declare(encoding="HZ");
function ~{'d'V'c'd~}() {
echo "~{'d'V'c'd~} - ok\n";
}
~{'d'V'c'd~}();
?>
--EXPECT--
â¥áâ - ok