1--TEST--
2zend multibyte (9)
3--SKIPIF--
4--XFAIL--
5https://bugs.php.net/bug.php?id=66582
6--INI--
7error_reporting=E_ALL & ~E_DEPRECATED
8zend.multibyte=On
9zend.script_encoding=cp1251
10mbstring.internal_encoding=UTF-8
11--FILE--
12<?php
13declare(encoding="EUC-JP");
14// forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it
15// back to UTF-8. There should be only a pair of consecutive bytes that is
16// valid EUC-encoded character "鴻".
17var_dump(bin2hex("テスト"));
18?>
19--EXPECT--
20string(16) "3f3f3fe9b4bb3f3f"
21