PageRenderTime 44ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/hphp/test/zend/bad/ext/date/tests/bug66985.php

http://github.com/facebook/hiphop-php
PHP | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | ca396a37c6374c052caf414a726f61b7 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
  1. <?php
  2. $zones = array(
  3. "CST6CDT", "Cuba", "Egypt", "Eire", "EST5EDT", "Factory", "GB-Eire",
  4. "GMT0", "Greenwich", "Hongkong", "Iceland", "Iran", "Israel", "Jamaica",
  5. "Japan", "Kwajalein", "Libya", "MST7MDT", "Navajo", "NZ-CHAT", "Poland",
  6. "Portugal", "PST8PDT", "Singapore", "Turkey", "Universal", "W-SU",
  7. "UTC", "GMT", "GMT+0100", "-0230",
  8. );
  9. foreach ( $zones as $zone )
  10. {
  11. $d = new DateTimeZone( $zone );
  12. print_r($d);
  13. }
  14. ?>