php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55407
Patch fix revision 2011-08-11 23:36 UTC by felipe@php.net

Patch fix for Date/time related Bug #55407

Patch version 2011-08-11 23:36 UTC

Return to Bug #55407 | Download this patch
Patch Revisions:

Developer: felipe@php.net

Index: ext/date/php_date.c
===================================================================
--- ext/date/php_date.c	(revision 314771)
+++ ext/date/php_date.c	(working copy)
@@ -145,7 +145,7 @@
 ZEND_BEGIN_ARG_INFO_EX(arginfo_date_create_from_format, 0, 0, 2)
 	ZEND_ARG_INFO(0, format)
 	ZEND_ARG_INFO(0, time)
-	ZEND_ARG_INFO(0, object)
+	ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 1)
 ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO_EX(arginfo_date_parse, 0, 0, 1)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC