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