mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
19 lines
304 B
PHP
Executable File
19 lines
304 B
PHP
Executable File
--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
|