Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105913 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42989 invoked from network); 13 Jun 2019 21:37:19 -0000 Received: from unknown (HELO NAM02-CY1-obe.outbound.protection.outlook.com) (40.107.76.97) by pb1.pair.com with SMTP; 13 Jun 2019 21:37:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector2-RWSoftware-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PA7fXMSQTj4VK7PcUJq6SYN6inhOfuET2xzhQPCoDr4=; b=K04KiHLgejdygm7k9Gshzx+PjXX0CyXW/UIwnkNi0Y9yI28N/xnZtl78yC0EppSvxrKEy+arahwiDQVvGzSCWiTqsuflZJ9Xlo9icKvmThmS9ZITgtc3iv3H+E21drnVHVR+aBEP3NaT3iRiotV1kJXAbb0vecVDmjNI8xwdias= Received: from MN2PR02MB5775.namprd02.prod.outlook.com (20.179.98.90) by MN2PR02MB6448.namprd02.prod.outlook.com (20.179.99.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.12; Thu, 13 Jun 2019 18:50:29 +0000 Received: from MN2PR02MB5775.namprd02.prod.outlook.com ([fe80::d0bd:6938:3beb:580e]) by MN2PR02MB5775.namprd02.prod.outlook.com ([fe80::d0bd:6938:3beb:580e%5]) with mapi id 15.20.1987.012; Thu, 13 Jun 2019 18:50:29 +0000 To: Joe Watkins , Derick Rethans CC: PHP Developers Mailing List Thread-Topic: commit 374f76998 causes getenv to be define with Xdebug loaded Thread-Index: AQHVIUlC1oHvOPVowkCx2AIIaOhEqaaYWZkAgAGVaEQ= Date: Thu, 13 Jun 2019 18:50:29 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=dmitry@zend.com; x-originating-ip: [212.232.72.197] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: da8f3b59-c701-42a8-0369-08d6f030018f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR02MB6448; x-ms-traffictypediagnostic: MN2PR02MB6448: x-ms-exchange-purlcount: 6 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:169; x-forefront-prvs: 0067A8BA2A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(396003)(136003)(39850400004)(366004)(199004)(189003)(53754006)(51344004)(68736007)(73956011)(76116006)(19627405001)(25786009)(66476007)(66556008)(64756008)(66446008)(7696005)(91956017)(66946007)(486006)(6506007)(14454004)(5660300002)(6246003)(26005)(102836004)(99286004)(53546011)(14444005)(256004)(76176011)(86362001)(110136005)(316002)(186003)(71200400001)(229853002)(6436002)(55016002)(8936002)(446003)(7736002)(8676002)(71190400001)(33656002)(4326008)(6116002)(2906002)(3846002)(66066001)(606006)(74316002)(478600001)(52536014)(53936002)(236005)(9686003)(476003)(81166006)(54896002)(6306002)(81156014)(11346002)(966005)(6606003)(16799955002);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR02MB6448;H:MN2PR02MB5775.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: zend.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: q5dVyI4fnT4q5KV1sSYm9akFnpCDIaFgrzRFfeKbr1g27U28Y9lBN979UhiobEZLBENrw1BVpeLp4ESTshvr49/r9Mox/pcpSMRSuz7EiKviLvnkEmT416mBe3hkGakPe7le7q9BiGkJm37XMAiGCsgnjeU9N20MzWYWeSdmvsky0QNtiQmQWk4xCXP7GysbOWbvfanZavXyEulzcZoc3+RS+jMAuDhjTCvgXD0NPeSPi+dSOdWeDkfv5GQL5BWl8mWfKcfb7sSX02X0wLiYZMrsEOQyWxKa1a2s00GbstxL28tfMLyC6xlKCSYJFnZdpRrc1y6utaeCc//LaUvgZLm0cxHEm7ahwsT/xBsVG+0/veNDNpVO2WzLaA06fqTq2qKM5ooK4oB9LwgTqZs9RrH/tIDnS/5Hb8H6XFDcvu0= Content-Type: multipart/alternative; boundary="_000_MN2PR02MB5775A3667F32749223C40AE4BFEF0MN2PR02MB5775namp_" MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-Network-Message-Id: da8f3b59-c701-42a8-0369-08d6f030018f X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2019 18:50:29.3440 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dmitry.stogov@roguewave.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB6448 Subject: Re: commit 374f76998 causes getenv to be define with Xdebug loaded From: dmitry@zend.com (Dmitry Stogov) --_000_MN2PR02MB5775A3667F32749223C40AE4BFEF0MN2PR02MB5775namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'll try to check what was wrong with this commit and xdebug. Thanks. Dmitry. ________________________________ From: Joe Watkins Sent: Wednesday, June 12, 2019 9:38:54 PM To: Derick Rethans Cc: Dmitry Stogov; PHP Developers Mailing List Subject: Re: commit 374f76998 causes getenv to be define with Xdebug loaded Hi all, My clumsy ass reverted that in PHP-7.4, totally and utterly by accident, an= d since it resolved Dericks problem, I went ahead and reverted in master al= so rather than make maybe unnecessary noise. Very very sorry about that, I totally intended to get Dmitry's approval/opi= nion. Terrible form, I'm sorry, I just pushed in the wrong shell. If the revert is terrible, feel free to shout at me and revert the revert. Cheers Joe On Wed, 12 Jun 2019 at 20:04, Derick Rethans > wrote: Hi Dmitry, I've just fetch the latest PHP-7.4 source from GIT to finalise Xdebug support for it, and after compiling PHP and Xdebug, I now run into the following error: Warning: define() expects at least 2 parameters, 1 given in /home/derick/dev/php/derickr-xdebug/run-xdebug-tests.php on line 2749 Line 2749 is not using define, and instead is: $JUNIT =3D getenv('TEST_PHP_JUNIT'); I have tracked this down with git bisect to be this commit: https://github.com/php/php-src/commit/374f76998 Could you have a look and let me know what's up? Joe suggests that this might need reverting. cheers, Derick -- https://derickrethans.nl | https://xdebug.org | https://dram.io Like Xdebug? Consider a donation: https://xdebug.org/donate.php, or become my Patron: https://www.patreon.com/derickr twitter: @derickr and @xdebug --_000_MN2PR02MB5775A3667F32749223C40AE4BFEF0MN2PR02MB5775namp_--