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