Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82521 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47324 invoked from network); 12 Feb 2015 10:11:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2015 10:11:21 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.53 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.53 mail-qg0-f53.google.com Received: from [209.85.192.53] ([209.85.192.53:62870] helo=mail-qg0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/B4-13750-64C7CD45 for ; Thu, 12 Feb 2015 05:11:18 -0500 Received: by mail-qg0-f53.google.com with SMTP id f51so7077938qge.12 for ; Thu, 12 Feb 2015 02:11:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Sx9rp0ueREZHNor6XBxcwEQOInUs9ZYOTSjhxQ0wydw=; b=jCTMyPjth+ynx8ur1ZqXBi51/SJy+ZwJEx8MEMp+Bx/K+Q9qgxn8Shoonoze1eyCyL /EsvaJw6vZzzx6bWKWSzndmE6hRmo/gSPdnJSIH9rFZfVKzN3EBYd7jJjk8s5LL2lcqr PTgNUp24p5oR4TqLAeh+QjiCYJi8/EkelPiH6vWR0rJ9rbL8fmpigxXbgYBPsLLyqHkF 4ccXgZJ+ZFIj05Y4D53BeZ1Z7MsNDQVV8IcWI8i3i0YXG8br4DPf6qLsiIOKZ5kzQYxE wgSogZ9lweh346ZPiLa0mJVhXruNODlj8Fqvik4sHxw3oEaUn4hreBf8TqcST7op5XbD /PlQ== X-Received: by 10.229.192.5 with SMTP id do5mr9023898qcb.12.1423735875400; Thu, 12 Feb 2015 02:11:15 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Thu, 12 Feb 2015 02:10:35 -0800 (PST) In-Reply-To: <54DB4E59.4030503@lsces.co.uk> References: <54DA162D.1070806@lsces.co.uk> <54DB4E59.4030503@lsces.co.uk> Date: Thu, 12 Feb 2015 19:10:35 +0900 X-Google-Sender-Auth: KPMkjYTKKH5Jdk4UXzrkHdfYzLk Message-ID: To: Lester Caine Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11337bfc1b7bbb050ee157d8 Subject: Re: [PHP-DEV] zend_get_parameters_ex rework From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11337bfc1b7bbb050ee157d8 Content-Type: text/plain; charset=UTF-8 Hi Lester, On Wed, Feb 11, 2015 at 9:43 PM, Lester Caine wrote: > OK I've got a patch for master, but I know that the changes are not > complete! > > http://hg.lsces.org.uk/hg/php-src/rev/8ec9101f59b6 > > I've still got a question about the &string_arg on line 1.9 and if it > should be changed to a string but that change needs working through the > following code. > > Also is what I'm doing here php7 only? so should there be wrappers for a > PHP5 build? > I think we need modules for PHP5 and PHP7. They differ a lot. I think that all this leaves is all the complaints about 'NULL' and integer > initialization makes integer from pointer without a cast > and > assignment makes integer from pointer without a cast > 1.9 + if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &blob_arg, &string_arg)) { I don't read the code and just curious. The "string_arg" isn't string? Why you specify "r" (resource)? Is it badly named parameter or some kind of string resource? It may be easier for you and us, if you could use github. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11337bfc1b7bbb050ee157d8--