mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
67e40e7f48
commit
3ab9b409b6
1 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue