File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ PHP NEWS
24
24
. Timezone initialization failure from serialized data will now throw an
25
25
instance of Error from __wakeup() or __set_state() instead of resulting in
26
26
a fatal error. (Aaron Piotrowski)
27
+ . Export date_get_interface_ce() for extension use. (Jeremy Mikola)
27
28
28
29
- DOM:
29
30
. Invalid schema or RelaxNG validation contexts will throw an instance of
Original file line number Diff line number Diff line change @@ -585,6 +585,11 @@ PHPAPI zend_class_entry *php_date_get_immutable_ce(void)
585
585
return date_ce_immutable ;
586
586
}
587
587
588
+ PHPAPI zend_class_entry * php_date_get_interface_ce (void )
589
+ {
590
+ return date_ce_interface ;
591
+ }
592
+
588
593
PHPAPI zend_class_entry * php_date_get_timezone_ce (void )
589
594
{
590
595
return date_ce_timezone ;
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ PHPAPI timelib_tzinfo *get_timezone_info(void);
221
221
/* Grabbing CE's so that other exts can use the date objects too */
222
222
PHPAPI zend_class_entry * php_date_get_date_ce (void );
223
223
PHPAPI zend_class_entry * php_date_get_immutable_ce (void );
224
+ PHPAPI zend_class_entry * php_date_get_interface_ce (void );
224
225
PHPAPI zend_class_entry * php_date_get_timezone_ce (void );
225
226
226
227
/* Functions for creating DateTime objects, and initializing them from a string */
You can’t perform that action at this time.
0 commit comments