com php-src: Export date_get_immutable_ce() so th at extensions can make use of it too.: NEWS ext/date/php_date.h
| From: | Derick Rethans | Date: | Tue, 31 Mar 2015 10:08:56 +0000 |
| Subject: | com php-src: Export date_get_immutable_ce() so th at extensions can make use of it too.: NEWS ext/date/php_date.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85964@lists.php.net to get a copy of this message | ||
Commit: 2c117a40a7e7241f911db662b5401ebe2bc3c386
Author: Derick Rethans <github@derickrethans.nl> Tue, 31 Mar 2015 11:08:56 +0100
Parents: 1bc77559f394ae762607ee3775128331f14e5859
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2c117a40a7e7241f911db662b5401ebe2bc3c386
Log:
Export date_get_immutable_ce() so that extensions can make use of it too.
Changed paths:
M NEWS
M ext/date/php_date.h
Diff:
diff --git a/NEWS b/NEWS
index 77f5bae..862ef6a 100644
--- 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)
diff --git a/ext/date/php_date.h b/ext/date/php_date.h
index 10498d0..af4ed7a 100644
--- a/ext/date/php_date.h
+++ b/ext/date/php_date.h
@@ -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 */