summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/php_reflection.h')
-rw-r--r--ext/reflection/php_reflection.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/reflection/php_reflection.h b/ext/reflection/php_reflection.h
index 12986569c6..1bb47b16c8 100644
--- a/ext/reflection/php_reflection.h
+++ b/ext/reflection/php_reflection.h
@@ -1,6 +1,6 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2015 The PHP Group |
+----------------------------------------------------------------------+
@@ -26,6 +26,8 @@
extern zend_module_entry reflection_module_entry;
#define phpext_reflection_ptr &reflection_module_entry
+#define PHP_REFLECTION_VERSION PHP_VERSION
+
BEGIN_EXTERN_C()
/* Class entry pointers */
@@ -42,8 +44,8 @@ extern PHPAPI zend_class_entry *reflection_property_ptr;
extern PHPAPI zend_class_entry *reflection_extension_ptr;
extern PHPAPI zend_class_entry *reflection_zend_extension_ptr;
-PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC);
-
+PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object);
+
END_EXTERN_C()
#endif /* PHP_REFLECTION_H */