Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Moved reflection into its own extension
  • Loading branch information
helly25 committed Nov 30, 2005
1 parent 16177d6 commit 7cb0480
Show file tree
Hide file tree
Showing 7 changed files with 4,363 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS
@@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 200?, PHP 5.1.2
- Moved reflection into its own extension. (Marcus)
- Added reflection constants as class constants. (Johannes)
- Added --enable-gcov configure option to enable C-level code coverage.
(John, Jani)
- Added missing support for 'B' format identifier to date() function. (Ilia)
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -1304,7 +1304,7 @@ PHP_ADD_SOURCES(Zend, \

if test -r "$abs_srcdir/Zend/zend_objects.c"; then
PHP_ADD_SOURCES(Zend, zend_objects.c zend_object_handlers.c zend_objects_API.c zend_mm.c \
zend_default_classes.c zend_reflection_api.c)
zend_default_classes.c)
fi

dnl Selectively disable optimization due to high RAM usage during
Expand Down
2 changes: 2 additions & 0 deletions ext/reflection/CREDITS
@@ -0,0 +1,2 @@
Reflection
Marcus Boerger, Timm Friebe, George Schlossnagle, Andrei Zmievski, Johannes Schlueter
13 changes: 13 additions & 0 deletions ext/reflection/config.m4
@@ -0,0 +1,13 @@
dnl $Id$
dnl config.m4 for extension reflection

PHP_ARG_ENABLE(reflection, whether to enable reflection support,
[ --disable-reflection Disable reflection support], yes, no)

if test "$PHP_REFLECTION" != "no"; then
if test "$ext_shared" = "yes"; then
AC_MSG_ERROR(Cannot build reflection as a shared module)
fi
AC_DEFINE(HAVE_REFLECTION, 1, [Whether Reflection is enabled])
PHP_NEW_EXTENSION(reflection, php_reflection.c)
fi
9 changes: 9 additions & 0 deletions ext/reflection/config.w32
@@ -0,0 +1,9 @@
// $Id$
// vim:ft=javascript

ARG_ENABLE("reflection", "disable reflection support", "yes");

if (PHP_REFLECTION != "no") {
EXTENSION("reflection", "php_reflection.c");
}

0 comments on commit 7cb0480

Please sign in to comment.