Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25496 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86337 invoked by uid 1010); 2 Sep 2006 14:32:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86322 invoked from network); 2 Sep 2006 14:32:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2006 14:32:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 192.38.9.232 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from [192.38.9.232] ([192.38.9.232:9063] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.1.1.8 r(12602M)) with ESMTP id 90/56-22865-2F599F44 for ; Sat, 02 Sep 2006 10:32:19 -0400 Received: by gw2.emini.dk (Postfix, from userid 504) id 3D0A6C3821; Sat, 2 Sep 2006 16:32:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on gw2.emini.dk X-Spam-Detected: no X-Spam-Status: No, score=4.0 required=5.0 tests=AWL,RCVD_IN_SORBS_DUL, RCVD_IN_WHOIS_INVALID autolearn=no version=3.1.3 X-Spam-Level: *** Received: from foxbox (IGLD-83-130-172-238.inter.net.il [83.130.172.238]) by gw2.emini.dk (Postfix) with ESMTP id 77A83C3812 for ; Sat, 2 Sep 2006 16:32:13 +0200 (CEST) Message-ID: <016501c6ce9c$116e2910$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "internals" Date: Sat, 2 Sep 2006 16:28:31 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0162_01C6CEAC.D42A3330" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: [PATCH] make Reflection options work on CLI/win32 From: steph@zend.com ("Steph Fox") ------=_NextPart_000_0162_01C6CEAC.D42A3330 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0162_01C6CEAC.D42A3330 Content-Type: text/plain; format=flowed; name="cli_reflection.txt"; reply-type=original Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cli_reflection.txt" --- config.w32.old Sat Sep 02 03:43:40 2006=0A= +++ config.w32 Sat Sep 02 03:43:18 2006=0A= @@ -5,4 +5,5 @@=0A= =0A= if (PHP_REFLECTION !=3D "no") {=0A= EXTENSION("reflection", "php_reflection.c");=0A= + AC_DEFINE('HAVE_REFLECTION', 1, 'Reflection support enabled');=0A= }=0A= ------=_NextPart_000_0162_01C6CEAC.D42A3330--