Skip to content

Commit b148c50

Browse files
committed
Revert fix for bug #55407
See 8e19705 and discussion on github. The suggestion is to target a proper solution in in 7.1.
1 parent 7c2a015 commit b148c50

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ext/date/php_date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ ZEND_END_ARG_INFO()
163163
ZEND_BEGIN_ARG_INFO_EX(arginfo_date_create_from_format, 0, 0, 2)
164164
ZEND_ARG_INFO(0, format)
165165
ZEND_ARG_INFO(0, time)
166-
ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 1)
166+
ZEND_ARG_INFO(0, object)
167167
ZEND_END_ARG_INFO()
168168

169169
ZEND_BEGIN_ARG_INFO_EX(arginfo_date_parse, 0, 0, 1)

ext/date/tests/bug55407.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Bug #55407 (Impossible to prototype DateTime::createFromFormat)
33
--INI--
44
error_reporting=-1
5+
--XFAIL--
6+
Bug #55407
57
--FILE--
68
<?php namespace melt\core;
79

0 commit comments

Comments
 (0)