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