diff options
author | Nikita Popov <nikic@php.net> | 2012-05-20 00:03:27 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2012-05-20 00:03:27 +0200 |
commit | ca59e5464de78dae1f7c874a6bcc4f7ea2948b1d (patch) | |
tree | 29b6271fe534e8e7feec73b046a1846d6758cb19 /Zend/zend_default_classes.c | |
parent | 1cec3f12cc719ccde286a3a55f6da1a5bf9ea2e4 (diff) | |
download | php-git-ca59e5464de78dae1f7c874a6bcc4f7ea2948b1d.tar.gz |
Add empty Generator class
Diffstat (limited to 'Zend/zend_default_classes.c')
-rw-r--r-- | Zend/zend_default_classes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_default_classes.c b/Zend/zend_default_classes.c index 73a765811e..bcc43ea7db 100644 --- a/Zend/zend_default_classes.c +++ b/Zend/zend_default_classes.c @@ -25,6 +25,7 @@ #include "zend_interfaces.h" #include "zend_exceptions.h" #include "zend_closures.h" +#include "zend_generators.h" ZEND_API void zend_register_default_classes(TSRMLS_D) @@ -33,6 +34,7 @@ ZEND_API void zend_register_default_classes(TSRMLS_D) zend_register_default_exception(TSRMLS_C); zend_register_iterator_wrapper(TSRMLS_C); zend_register_closure_ce(TSRMLS_C); + zend_register_generator_ce(TSRMLS_C); } /* |