mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
13 lines
291 B
PHP
13 lines
291 B
PHP
--TEST--
|
|
Bug #46843 (CP936 euro symbol is not converted properly)
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--FILE--
|
|
<?php
|
|
var_dump(bin2hex(mb_convert_encoding("\x80", 'UCS-2BE', 'CP936')));
|
|
var_dump(bin2hex(mb_convert_encoding("\x20\xac", 'CP936', 'UCS-2BE')));
|
|
?>
|
|
--EXPECT--
|
|
string(4) "20ac"
|
|
string(2) "80"
|