# [PATCH] make Reflection options work on CLI/win32

- Thread: https://externals.io/message/25496
- Original archive: https://news-web.php.net/php.internals/25496
- Started by Steph Fox on 2006-09-02T14:28:31+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #25496 — Steph Fox — 2006-09-02T14:28:31+00:00

URL: https://externals.io/message/25496#25496

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

---

## #25510 — Johannes Schlueter — 2006-09-02T19:15:18+00:00

URL: https://externals.io/message/25496#25510 · In reply to: #25496

Hi Steph,

thanks for the patch, I've just committed it to the active branches. 
btw. Marcus rewrote most parts of the implementation. (credits to whom 
they belong *g*)

johannes

Steph Fox wrote:
> 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');
> }
