Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58763 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74061 invoked from network); 8 Mar 2012 01:20:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2012 01:20:44 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:45734] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/7F-15180-B69085F4 for ; Wed, 07 Mar 2012 20:20:44 -0500 Received: by wgbdq13 with SMTP id dq13so5737444wgb.11 for ; Wed, 07 Mar 2012 17:20:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0mhBmxR7IdiLeh/KuW8vOPXIWkqdE0u3b4w4dVVDtuw=; b=l0ufAcFwG+gENAxFHrbNn05KjmHtbTasO2PpOm/6i2nyhkc6vpSBseu8T/pZ6CPcmw dunkqvwuobFOkDxfkg5sRzEXfZd+7rNw4rbdj69eevk88zb5GBqYVTmRqmTCey/rg23S HrkuYBQ+7ffzeQ4j8jqMyQXmHcreW7IDOMXZA0ZiXNDJlJFptigv/4jJmCIWLMIcDRcQ SFwHdSyXZ1byiOX+k5auy2dEkOOoXtb3DMGIfaobKmOz6OrBGOnDPPY9myRz1ktxPJf4 cZwpNK0wPtzkOB6iZ6BBCUWQBRfTjJWEeeI26lQL39DmrnYFaai0ir6Hdj8GkY4wm2FQ 466A== MIME-Version: 1.0 Received: by 10.180.78.225 with SMTP id e1mr8054814wix.0.1331169640850; Wed, 07 Mar 2012 17:20:40 -0800 (PST) Received: by 10.216.137.20 with HTTP; Wed, 7 Mar 2012 17:20:40 -0800 (PST) In-Reply-To: References: Date: Wed, 7 Mar 2012 20:20:40 -0500 Message-ID: To: John Crenshaw Cc: Simon Schick , Kris Craig , Raymond Irving , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Scalar Type Hinting From: ircmaxell@gmail.com (Anthony Ferrara) John, > Thanks...and aw crap. I hate feeling like I shut the door on something. Not at all. I don't feel bad about this in the least. Yes, I would have liked to have gotten it in, but I want a good solution before I want mine. So I'm absolutely willing to withdraw this RFC, as it does have issues. And it's not really shutting the door. It's moving a roadblock over so that another (hopefully better) proposal can take its place... > Let's make sure we can salvage as much as possible here: > 1. The structure of the patch looked like it was reusable regardless of whether the final syntax used a typename of a cast, right? Let's not lose that. Yeah, there was some in there that I definitely learned from. Including that the casting logic in the core is really in bad shape (it's everywhere!). > 2. Examining parameters from this perspective gave some good insight into the behavior of the system when implicitly converting inputs. Oh, doing the RFC and the patch definitely had value. It's not like it's lost effort (and the reference is on the wiki still). And I'm glad I did a finalized patch, since it showed that some API change (on C level) would be necessary (namely the argument parsing function, to accept a double-pointer instead of a single one). > I'm sorry for not raising the concerns well enough earlier. You did. We just didn't connect and understand each other (or I didn't understand you) earlier. But that's behind. Let's move up and on... So, that leaves the question: where to go next... (I have a somewhat radical proposal that I'd like to make to list that's somewhat releated, but I'm going to think it out first before posting)... Thanks again, Anthony