diff options
author | Stefan Marr <gron@php.net> | 2011-07-23 19:08:43 +0000 |
---|---|---|
committer | Stefan Marr <gron@php.net> | 2011-07-23 19:08:43 +0000 |
commit | 1fc4bc1d569864279058e40bdea8a47a51187da3 (patch) | |
tree | d6bf2b7cffa0b9e17ce2ce25f19aebe2d8a94d25 /ext/spl/spl_functions.h | |
parent | 9a483afa5bf4917cf59132bc884ad7b7033938c5 (diff) | |
download | php-git-1fc4bc1d569864279058e40bdea8a47a51187da3.tar.gz |
Added missing class_uses(..) function to SPL to mirror class_implements(..).
# Was pointed out as missing in bug #55266.
Diffstat (limited to 'ext/spl/spl_functions.h')
-rwxr-xr-x | ext/spl/spl_functions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/spl/spl_functions.h b/ext/spl/spl_functions.h index d5e3e72670..69feb3834f 100755 --- a/ext/spl/spl_functions.h +++ b/ext/spl/spl_functions.h @@ -62,6 +62,7 @@ void spl_register_property( zend_class_entry * class_entry, char *prop_name, int */ void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC); void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC); +void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC); int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC); /* caller must efree(return) */ |