del php-src: NEWS ext/date/php_date.c ext/date/tests/bug 55407.phpt
| From: | JulienPauli | Date: | Wed, 04 Feb 2015 16:50:48 +0000 |
| Subject: | del php-src: NEWS ext/date/php_date.c ext/date/tests/bug 55407.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84634@lists.php.net to get a copy of this message | ||
Branch: PHP-5.5.22
Deleted commits count: 1
User: JulienPauli <jpauli@php.net> Wed, 04 Feb 2015 16:50:48 +0000
Changed paths:
M NEWS
M ext/date/php_date.c
D ext/date/tests/bug55407.phpt
Diff:
diff --git b/NEWS a/NEWS
index 9adcc53..514e2b7 100644
--- b/NEWS
+++ a/NEWS
@@ -10,8 +10,6 @@ PHP NEWS
- Date:
. Fixed bug #45081 (strtotime incorrectly interprets SGT time zone). (Derick)
- . Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat).
- (Derick, Felipe)
- Dba:
. Fixed bug #68711 (useless comparisons). (bugreports at internot dot info)
@@ -24,10 +22,6 @@ PHP NEWS
. Fixed bug #68571 (core dump when webserver close the socket).
(redfoxli069 at gmail dot com, Laruence)
-- JSON:
- . Fixed bug #68938 (json_decode() decodes empty string without error).
- (jeremy at bat-country dot us)
-
- Libxml:
. Fixed bug #64938 (libxml_disable_entity_loader setting is shared
between threads). (Martin Jansen)
diff --git b/ext/date/php_date.c a/ext/date/php_date.c
index fb3eaca..58e23c0 100644
--- b/ext/date/php_date.c
+++ a/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 b/ext/date/tests/bug55407.phpt a/ext/date/tests/bug55407.phpt
deleted file mode 100644
index 00c3356..0000000
--- b/ext/date/tests/bug55407.phpt
+++ /dev/null
@@ -1,17 +0,0 @@
---TEST--
-Bug #55407 (Impossible to prototype DateTime::createFromFormat)
---INI--
-error_reporting=-1
---FILE--
-<?php namespace melt\core;
-
-class DateTime extends \DateTime {
- public static function createFromFormat($format, $time, DateTimeZone $timezone = null) {
- return new DateTime(parent::createFromFormat($format, $time, $timezone));
- }
-}
-
-echo "DONE\n";
-?>
---EXPECTF--
-DONE