To clarify kay's note below, when given an empty or invalid timezone string, this function does issue a warning, but it still returns boolean(FALSE) just like the documentation says.
Description
Liste de paramètres
- timezone
-
Identifiant du fuseau horaire, sous forme de nom complet (par exemple Europe/Prague) ou son abréviation (par exemple CET).
Valeurs de retour
Retourne un objet DateTimeZone en cas de succès ou FALSE en cas d'échec.
timezone_open
brandon at theholbrooks dot org
30-Oct-2007 08:24
30-Oct-2007 08:24
kay
27-Oct-2007 08:14
27-Oct-2007 08:14
In case of an empty identifier the function returns a warning, not the boolean 'false'.
"Warning: timezone_open() [function.timezone-open]: Unknown or bad timezone () "
