mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
19 lines
288 B
PHP
Executable File
19 lines
288 B
PHP
Executable File
--TEST--
|
|
declare script encoding (SJIS)
|
|
--SKIPIF--
|
|
<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
|
|
--INI--
|
|
unicode.output_encoding=CP866
|
|
--FILE--
|
|
<?php
|
|
declare(encoding="SJIS");
|
|
|
|
function „„„u„ƒ„„() {
|
|
echo "„„„u„ƒ„„ - ok\n";
|
|
}
|
|
|
|
„„„u„ƒ„„();
|
|
?>
|
|
--EXPECT--
|
|
â¥áâ - ok
|