The timezone_location_get() returns location information for the given timezone.
PHP timezone_location_get() Function has the following syntax.
timezone_location_get(object);
PHP timezone_location_get() Function has the following parameters.
object - Required. DateTimeZone object returned by timezone_open()
PHP timezone_location_get() Function returns an array that contains location information for the timezone.
Return location information for the given timezone:
<?php
$tz=timezone_open("Asia/Taipei");
echo timezone_location_get($tz);
?>
The code above generates the following result.