[PATCH] make Reflection options work on CLI/win32
| From: | Steph Fox | Date: | Sat, 02 Sep 2006 14:28:31 +0000 |
| Subject: | [PATCH] make Reflection options work on CLI/win32 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-25496@lists.php.net to get a copy of this message | ||
Folk with karma, hi -
None of Johannes' CLI Reflection options work under doze in PHP 5.2.0 RC 3
C:\sandbox\php5\Release_TS>php --rc DateTime
Could not open input file: DateTime
The attached trivial patch defines HAVE_REFLECTION to rectify that. The define's also missing from PHP_5_1 branch and CVS HEAD.
- Steph
--- config.w32.old Sat Sep 02 03:43:40 2006 +++ config.w32 Sat Sep 02 03:43:18 2006 @@ -5,4 +5,5 @@ if (PHP_REFLECTION != "no") { EXTENSION("reflection", "php_reflection.c"); + AC_DEFINE('HAVE_REFLECTION', 1, 'Reflection support enabled'); }
--- config.w32.old Sat Sep 02 03:43:40 2006 +++ config.w32 Sat Sep 02 03:43:18 2006 @@ -5,4 +5,5 @@ if (PHP_REFLECTION != "no") { EXTENSION("reflection", "php_reflection.c"); + AC_DEFINE('HAVE_REFLECTION', 1, 'Reflection support enabled'); }