com php-src: Revert fix for bug #55407: ext/date/php_date.c ext/date/tests/bug55407.phpt
| From: | Anatol Belski | Date: | Fri, 12 Jun 2015 15:56:02 +0000 |
| Subject: | com php-src: Revert fix for bug #55407: ext/date/php_date.c ext/date/tests/bug55407.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87238@lists.php.net to get a copy of this message | ||
Commit: b148c50f4864684aa9a6c6483cc309a7f2badbb5
Author: Anatol Belski <ab@php.net> Fri, 12 Jun 2015 17:56:02 +0200
Parents: 7c2a0157c7c71a55dce2d4dade854a4d6ccb03e9
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b148c50f4864684aa9a6c6483cc309a7f2badbb5
Log:
Revert fix for bug #55407
See 8e19705a93d785cd1ff8ba3a69699b00169fea47 and discussion on
github. The suggestion is to target a proper solution in in 7.1.
Bugs:
https://bugs.php.net/55407
Changed paths:
M ext/date/php_date.c
M ext/date/tests/bug55407.phpt
Diff:
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index ce0e7f4..be48b13 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -163,7 +163,7 @@ ZEND_END_ARG_INFO()
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_OBJ_INFO(0, object, DateTimeZone, 1)
+ ZEND_ARG_INFO(0, object)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_date_parse, 0, 0, 1)
diff --git a/ext/date/tests/bug55407.phpt b/ext/date/tests/bug55407.phpt
index 00c3356...9256405 100644
--- a/ext/date/tests/bug55407.phpt
+++ b/ext/date/tests/bug55407.phpt
@@ -2,6 +2,8 @@
Bug #55407 (Impossible to prototype DateTime::createFromFormat)
--INI--
error_reporting=-1
+--XFAIL--
+Bug #55407
--FILE--
<?php namespace melt\core;