]> granicus.if.org Git - php/commitdiff
Export date_get_immutable_ce() so that extensions can make use of it too.
authorDerick Rethans <github@derickrethans.nl>
Tue, 31 Mar 2015 10:08:56 +0000 (11:08 +0100)
committerDerick Rethans <github@derickrethans.nl>
Tue, 31 Mar 2015 10:08:56 +0000 (11:08 +0100)
NEWS
ext/date/php_date.h

diff --git a/NEWS b/NEWS
index 77f5bae19f51415845d014af6b996e48c00db842..862ef6a3fa69e5ab7c72fc8f087a154c888ec821 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,10 @@ PHP                                                                        NEWS
   . Fixed bug #69221 (Segmentation fault when using a generator in combination
     with an Iterator). (Nikita)
 
+- Date:
+  . Export date_get_immutable_ce so that it can be used by extensions. (Derick
+    Rethans)
+
 - Curl:
   . Implemented FR#69278 (HTTP2 support). (Masaki Kagaya)
 
index 10498d0d01eba6e9e91b776124616c1825a9bdca..af4ed7a56baca18b1eb7811e66d5b4c0fc0f80a6 100644 (file)
@@ -193,6 +193,7 @@ PHPAPI timelib_tzinfo *get_timezone_info(TSRMLS_D);
 
 /* Grabbing CE's so that other exts can use the date objects too */
 PHPAPI zend_class_entry *php_date_get_date_ce(void);
+PHPAPI zend_class_entry *php_date_get_immutable_ce(void);
 PHPAPI zend_class_entry *php_date_get_timezone_ce(void);
 
 /* Functions for creating DateTime objects, and initializing them from a string */