Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49354 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56291 invoked from network); 11 Aug 2010 16:34:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 16:34:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=cyberspice@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cyberspice@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.158.45.55 as permitted sender) X-PHP-List-Original-Sender: cyberspice@php.net X-Host-Fingerprint: 85.158.45.55 elf.thecommune.org.uk Linux 2.4/2.6 Received: from [85.158.45.55] ([85.158.45.55:33052] helo=elf.thecommune.org.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/3A-01618-501D26C4 for ; Wed, 11 Aug 2010 12:34:14 -0400 Received: from localhost ([127.0.0.1] helo=[IPv6:::1] ident=1002) by elf.thecommune.org.uk with esmtp (Exim 4.42) id 1OjEOl-00084W-Cx for internals@lists.php.net; Wed, 11 Aug 2010 17:43:27 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) In-Reply-To: <4C62C957.8040403@gmail.com> Date: Wed, 11 Aug 2010 17:34:10 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: References: <1281478269.6608.292.camel@guybrush> <4C61D6D0.90907@sugarcrm.com> <4C62B9E0.4030305@gmail.com> <1281540200.1132.36.camel@guybrush> <4C62C957.8040403@gmail.com> To: Internals internals X-Mailer: Apple Mail (2.1081) X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Rcpt-To: internals@lists.php.net X-SA-Exim-Mail-From: cyberspice@php.net X-SA-Exim-Scanned: No (on elf.thecommune.org.uk); SAEximRunCond expanded to false Subject: Re: [PHP-DEV] Strict typing From: cyberspice@php.net (Melanie Rhianna Lewis) On 11 Aug 2010, at 17:01, Elizabeth M Smith wrote: > Well this is turning into a real flamefest. I'm now totally confused to be honest. > Personally I really HATE the 5.3 implementation of "typehints" - heck = you can't even typehint arrays with an arrayobject instance, it's not = hinting in any way shape or form and is generally broken. >=20 > On the other hand I'd like to be able to have the same control of = parameters in my userland code that I do in extensions - namely the same = control I get with zend_parse_parameters. And the same errors/warnings = I get with zend_parse_parameters This. > Any reason we can't expose the logic included there into userland? = Would make internal functions and userland functions work the same and = act the same. >=20 > Anyway, at this point there's a lot of arguing and very little = consensus. I'm kind of tempted to say maybe all the people on the = internals mailing list are a bit myopic in their viewpoints, and maybe = this does need to get out to a wider community (php.general perhaps?) = since the guy hacking on a wordpress plugin is every bit as much a PHP = user as any of us. Absolutely. Melanie