uconverter_getDestinationEncoding.phpt 274 B

123456789101112131415
  1. --TEST--
  2. UConverter::getDestinationEncoding()
  3. --CREDITS--
  4. Andy McNeice - PHP Testfest 2017
  5. --INI--
  6. intl.error_level = E_WARNING
  7. --EXTENSIONS--
  8. intl
  9. --FILE--
  10. <?php
  11. $c = new UConverter('UTF-7', 'ascii');
  12. var_dump($c->getDestinationEncoding());
  13. ?>
  14. --EXPECT--
  15. string(5) "UTF-7"