Updated example to show corrected procedural usage.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307705 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Richard Quadling 2011-01-24 10:35:01 +00:00
parent 67e40e7f48
commit 3ab9b409b6

View file

@ -50,6 +50,7 @@
<?php
$tz = new DateTimeZone("Europe/Prague");
print_r($tz->getLocation());
print_r(timezone_location_get($tz));
?>
]]>
</programlisting>
@ -63,6 +64,13 @@ Array
[longitude] => 14.43333
[comments] =>
)
Array
(
[country_code] => CZ
[latitude] => 50.08333
[longitude] => 14.43333
[comments] =>
)
]]>
</screen>
</example>