downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

timezone_transitions_get> <timezone_offset_get
[edit] Last updated: Fri, 11 May 2012

view this page in

timezone_open

(PHP 5 >= 5.2.0)

timezone_openAlias of DateTimeZone::__construct()

Description

This function is an alias of: DateTimeZone::__construct()



add a note add a note User Contributed Notes timezone_open
brandon at theholbrooks dot org 31-Oct-2007 05:54
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.
kay 28-Oct-2007 04:44
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 () "

 
show source | credits | sitemap | contact | advertising | mirror sites