Robert Stoll wrote: > Nevertheless, the signature in the documentation implies that > date_create() returns always DateTime. I already submitted a patch to > change it to mixed :) IMHO, the signature is fine, as false is returned only in *exceptional* cases. To be strict, changing the return type to mixed had to be done for (nearly) *all* functions, because several may return false in error cases, and many will return null when wrong arguments are passed. -- Christoph M. Becker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php