mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Export php_date_get_interface_ce() for extension use
This commit is contained in:
parent
cc909a8923
commit
7aaa310d7b
3 changed files with 7 additions and 0 deletions
1
NEWS
1
NEWS
|
@ -24,6 +24,7 @@ PHP NEWS
|
|||
. Timezone initialization failure from serialized data will now throw an
|
||||
instance of Error from __wakeup() or __set_state() instead of resulting in
|
||||
a fatal error. (Aaron Piotrowski)
|
||||
. Export date_get_interface_ce() for extension use. (Jeremy Mikola)
|
||||
|
||||
- DOM:
|
||||
. Invalid schema or RelaxNG validation contexts will throw an instance of
|
||||
|
|
|
@ -585,6 +585,11 @@ PHPAPI zend_class_entry *php_date_get_immutable_ce(void)
|
|||
return date_ce_immutable;
|
||||
}
|
||||
|
||||
PHPAPI zend_class_entry *php_date_get_interface_ce(void)
|
||||
{
|
||||
return date_ce_interface;
|
||||
}
|
||||
|
||||
PHPAPI zend_class_entry *php_date_get_timezone_ce(void)
|
||||
{
|
||||
return date_ce_timezone;
|
||||
|
|
|
@ -221,6 +221,7 @@ PHPAPI timelib_tzinfo *get_timezone_info(void);
|
|||
/* 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_interface_ce(void);
|
||||
PHPAPI zend_class_entry *php_date_get_timezone_ce(void);
|
||||
|
||||
/* Functions for creating DateTime objects, and initializing them from a string */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue