Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89835 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66116 invoked from network); 17 Dec 2015 21:52:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2015 21:52:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam.baratz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam.baratz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.180 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.213.180 mail-ig0-f180.google.com Received: from [209.85.213.180] ([209.85.213.180:34321] helo=mail-ig0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/0A-51216-2BE23765 for ; Thu, 17 Dec 2015 16:52:50 -0500 Received: by mail-ig0-f180.google.com with SMTP id m11so21828691igk.1 for ; Thu, 17 Dec 2015 13:52:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SnW70s41NweUQClZY1rR6gg7+8U+Uc0z9GaXZKrH9dc=; b=jpiiKPAT55k4YGRwcJhy+gRbNK9TtmlRXfqcuwEY0OA2BUR5FGqSXtV81zOMyNW5nM dxLdE1EK1Si+gokRXvFbUkl85fLyNvnAz06rDXNAlcAevSHreWeuquPDDPvB0tjW9+av 5M6lp540RB/DyKTXUQ91ysCHMG6KIMLTP9tjbFjHBLJvQbHxZwVOg8mtpQq4gIVLiGwI EzBKT47tBZeU8F1vVWdSlMvtP3rvwsiRlWB7hUi8mTpblaBERtUjtuhK6Efo4CEwGgVd JzW8yKNSavBFQJmCxzJxXmnz6iSBIP+7KP8CLOLeicnxX5hcBtqwli5Y1LwDq395SauJ 4V5g== MIME-Version: 1.0 X-Received: by 10.50.62.20 with SMTP id u20mr796215igr.26.1450389167437; Thu, 17 Dec 2015 13:52:47 -0800 (PST) Received: by 10.64.5.104 with HTTP; Thu, 17 Dec 2015 13:52:47 -0800 (PST) Date: Thu, 17 Dec 2015 16:52:47 -0500 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7bdca6061c7dc805271f0b0a Subject: call_user_function_ex() affects zval value From: adam.baratz@gmail.com (Adam Baratz) --047d7bdca6061c7dc805271f0b0a Content-Type: text/plain; charset=UTF-8 Hi, I'm working on PHP7 compatibility for an extension (which I didn't write). I discovered an issue with a call like this: call_user_function_ex(EG(function_table), NULL, zval, &retval, 5, params, 0, NULL); When zval refers to a [object, string] array, its value is different after this call. I haven't seen this issue when zval is a string. I realize the context probably matters here, but I'm having trouble narrowing down what could be doing this. Any suggestions on how to debug this? Thanks, Adam --047d7bdca6061c7dc805271f0b0a--