timezone_getTZData_basic.phpt 347 B

12345678910111213141516171819
  1. --TEST--
  2. IntlTimeZone::getTZDataVersion: basic test
  3. --SKIPIF--
  4. <?php
  5. if (!extension_loaded('intl'))
  6. die('skip intl extension not enabled');
  7. --FILE--
  8. <?php
  9. ini_set("intl.error_level", E_WARNING);
  10. print_R(IntlTimeZone::getTZDataVersion());
  11. echo "\n";
  12. print_R(intltz_get_tz_data_version());
  13. echo "\n";
  14. ?>
  15. ==DONE==
  16. --EXPECTF--
  17. 20%d%s
  18. 20%d%s
  19. ==DONE==