php-src/tests/unicode/encrt-HZ.phpt
2008-05-26 15:52:06 +00:00

17 lines
215 B
PHP
Executable File

--TEST--
declare script encoding (HZ)
--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