Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1781 invoked from network); 7 Dec 2011 08:16:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Dec 2011 08:16:50 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:36002] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4D/00-01191-0F02FDE4 for ; Wed, 07 Dec 2011 03:16:49 -0500 Received: by vcbgb30 with SMTP id gb30so211520vcb.29 for ; Wed, 07 Dec 2011 00:16:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ruF/nUbeBA5z+c6VSrfzUiXL7JtiDzYyQ1dLcAos35s=; b=hj6uACCqTCNN/biAtef3CCWX2zY61JOCC+qalnf61FXfRXYybnbWeD2Cb4B+WsBkt6 4l8jp0aXHMrYRIXW+3O1BbHOxkdwcd/nkgA7R7M5GU/OpT6b4dH8UKFS8MSQnpy4LnWD /Qban5uJEhklVn8Kp9xs2qrhN7Lcsj9jfGOmA= Received: by 10.220.64.197 with SMTP id f5mr134535vci.59.1323245791367; Wed, 07 Dec 2011 00:16:31 -0800 (PST) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.220.178.194 with HTTP; Wed, 7 Dec 2011 00:16:10 -0800 (PST) In-Reply-To: <4EDF1433.4050604@php.net> References: <4EDF1433.4050604@php.net> Date: Wed, 7 Dec 2011 16:16:10 +0800 X-Google-Sender-Auth: ozzjtRb2WcdrrP4cPKR7vY4EYH8 Message-ID: To: Sebastian Bergmann Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Bug #54514 From: laruence@php.net (Laruence) HI, I am looking at it :) how about add a PHP_BINARY into $_SERVER, but not register as a constan= t? thanks, On Wed, Dec 7, 2011 at 3:22 PM, Sebastian Bergmann wrot= e: > =C2=A0Can somebody look into https://bugs.php.net/bug.php?id=3D54514 plea= se? > =C2=A0This causes issues for CLI tools implemented in PHP that are invoke= d > =C2=A0through Apache Ant, for instance, and need to know the PHP interpre= ter > =C2=A0that is running them. > > =C2=A0See https://github.com/sebastianbergmann/phpunit/issues/432 for an > =C2=A0example of how this affects PHPUnit. > > -- > Sebastian Bergmann =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Co-Founder and Principal Consultant > http://sebastian-bergmann.de/ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://thePHP.cc/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Laruence =C2=A0Xinchen Hui http://www.laruence.com/