dis-bench / src /php /php-src /ext /date /tests /011.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
381 Bytes
--TEST--
timezone_name_from_abbr() tests
--FILE--
<?php
date_default_timezone_set('UTC');
var_dump(timezone_name_from_abbr("CET"));
var_dump(timezone_name_from_abbr("AXST"));
var_dump(timezone_name_from_abbr("", 3600));
var_dump(timezone_name_from_abbr("", 3600, 0));
echo "Done\n";
?>
--EXPECT--
string(13) "Europe/Berlin"
bool(false)
bool(false)
string(12) "Europe/Paris"
Done