1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/multibyte/multibyte_encoding_001.phpt
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

16 lines
272 B
PHP

--TEST--
Zend Multibyte and ShiftJIS
--EXTENSIONS--
mbstring
--INI--
zend.multibyte=1
internal_encoding=SJIS
--FILE--
<?php
declare(encoding='Shift_JIS');
$s = "\"; // 0x95+0x5c in script, not somewhere else "
printf("%x:%x", ord($s[0]), ord($s[1]));
?>
--EXPECT--
95:5c