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

18 lines
236 B
PHP
Executable File

--TEST--
declare script encoding (HZ)
--INI--
unicode_semantics=on
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