Skip to content

Commit

Permalink
Export date_get_immutable_ce() so that extensions can make use of it …
Browse files Browse the repository at this point in the history
…too.
  • Loading branch information
derickr committed Mar 31, 2015
1 parent 1bc7755 commit 2c117a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions ext/date/php_date.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2c117a4

Please sign in to comment.