zend_multibyte-08.phpt 348 B

12345678910111213141516
  1. --TEST--
  2. zend multibyte (8)
  3. --SKIPIF--
  4. --XFAIL--
  5. https://bugs.php.net/bug.php?id=66582 - still leaks memory which causes fail in debug mode
  6. --INI--
  7. zend.multibyte=On
  8. zend.script_encoding=ISO-8859-1
  9. mbstring.internal_encoding=UTF-8
  10. --FILE--
  11. <?php
  12. declare(encoding="CP932");
  13. var_dump(bin2hex("ƒeƒXƒg"));
  14. ?>
  15. --EXPECT--
  16. string(18) "e38386e382b9e38388"