Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91407 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83279 invoked from network); 25 Feb 2016 15:16:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2016 15:16:46 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 157.56.111.112 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 157.56.111.112 mail-bn1bon0112.outbound.protection.outlook.com Received: from [157.56.111.112] ([157.56.111.112:49120] helo=na01-bn1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/D0-11730-BDA1FC65 for ; Thu, 25 Feb 2016 10:16:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QJMFaiT6sb4bywe+HyQ+FWY2+Ps23ruDwwcc/XPF508=; b=qZqSi9JXPuQPFNli9YM0jbsXMiYZ5K5honc4RX9JXrJLVxZn3BvCQk/069Rb08qHrhNW8+AfsnARoiOFxCas9L2TNXH0q1AfphDjKyK/U6mU8S0eoq+b67asBfHPg7wee1LhVdlzhilRFTp37PF7HmFpakalK2ZkAguBQSZhIlY= Received: from BY2PR0201MB1784.namprd02.prod.outlook.com (10.163.72.26) by CY1PR02MB1707.namprd02.prod.outlook.com (10.162.161.29) with Microsoft SMTP Server (TLS) id 15.1.409.15; Thu, 25 Feb 2016 15:16:35 +0000 Received: from BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) by BY2PR0201MB1784.namprd02.prod.outlook.com ([10.163.72.26]) with mapi id 15.01.0409.024; Thu, 25 Feb 2016 15:16:34 +0000 To: "internals@lists.php.net" , Nikita Popov , Xinchen Hui , Bob Weinand , Derick Rethans Thread-Topic: Change in internal call_user_function() API. Thread-Index: AQHRb93brHmJTZMa1E2lhvASFOVnJA== Date: Thu, 25 Feb 2016 15:16:34 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.php.net; dkim=none (message not signed) header.d=none;lists.php.net; dmarc=none action=none header.from=zend.com; x-originating-ip: [92.62.57.172] x-microsoft-exchange-diagnostics: 1;CY1PR02MB1707;5:DvbG2KltvU3bOGFsegaUINsJ3WM+laQUp0szWM6e2JPlEenn2ZRtZql6SQarOZemv4d6wx8YNVW3AR/AMDp6R5fGooH/DR1xSty/r+4xWwKMOQ0z9hxsQnbHe3/WnesPeJebDokvq5Tng4egS7Rhcw==;24:xABDxpmLPyNaWfVg8Uyfynt9Q4jsEPhJXREaOhRqjZ62Kgj6qfHmVbbZmO5ZbX+MTR07v+EldxeyDuL+18G2gRb4ji5drC2a4vyup2VMpvQ= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR02MB1707; x-ms-office365-filtering-correlation-id: b1e9c6ad-5246-42e9-ce15-08d33df6a63b x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:CY1PR02MB1707;BCL:0;PCL:0;RULEID:;SRVR:CY1PR02MB1707; x-forefront-prvs: 08635C03D4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(87936001)(40100003)(86362001)(54356999)(3280700002)(189998001)(122556002)(50986999)(99286002)(3660700001)(76576001)(106116001)(19580395003)(1220700001)(19617315012)(5004730100002)(5008740100001)(33656002)(586003)(229853001)(102836003)(66066001)(16236675004)(3846002)(19627405001)(1096002)(19625215002)(5001960100002)(77096005)(92566002)(74316001)(5001770100001)(107886002)(15975445007)(5002640100001)(2906002)(2900100001)(10400500002)(2501003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR02MB1707;H:BY2PR0201MB1784.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BY2PR0201MB178429DF6A3F3E5692C9C394BFA60BY2PR0201MB1784_" MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2016 15:16:34.6589 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1707 Subject: Change in internal call_user_function() API. From: dmitry@zend.com (Dmitry Stogov) --_000_BY2PR0201MB178429DF6A3F3E5692C9C394BFA60BY2PR0201MB1784_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, PHP-7.0 internal call_user_function() API doesn't support function calls wi= th preinitialised symbol tables. This just can't work in general , because values of arguments might be alre= ady initialized in CV as well as in symbol table. I propose to remove the corresponding internal API in master: 1) remove last argument of call_user_function_ex() 2) remove zend_call_info.symbol_table field https://gist.github.com/dstogov/5550827aa695ff8cb803 The tricky way was used in phpdbg only, but that code doesn't work, and sho= uld be fixed anyway. Thanks. Dmitry. --_000_BY2PR0201MB178429DF6A3F3E5692C9C394BFA60BY2PR0201MB1784_--