Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49351 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51389 invoked from network); 11 Aug 2010 16:11:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 16:11:01 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:37629] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/39-01618-49BC26C4 for ; Wed, 11 Aug 2010 12:11:01 -0400 Received: by fxm14 with SMTP id 14so272554fxm.29 for ; Wed, 11 Aug 2010 09:10:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=AJekc7vaxrs6HdaneXVVVtWAO/d7nYsUkHNxc4sqW44=; b=Vd94T4EMgRr4FY3m/DPdnxCvnoUUwD5cR02N6xyFalZRjTAcf61RjOpZ6T0EoCpw0O xZRePoE24TTnf+lXCdNKM6HSgGLm6t8vrlc8b5yVQ13QnXCVTPMZrNTEc9aCNmFYxeZk yHhQCsiPLH0t/RbKjzStlaZ1W/eg5nfA6rknM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VqD6tq3OYFHZ8QGNka+77ooCReO7mCBAU6Gvy3AbcsBkp9l49W8WcNPmUKPQV+FxsY r/XeOzOu5qLB2IEKOsOp08IHHmf/UipZj7OZpGRe+j5C3n9HZn1q2ys8xTFpZyi50Ls2 J9xLw3QJ6O4cidNajyYs6uVQUnCOUgaM5LVYU= MIME-Version: 1.0 Received: by 10.223.104.15 with SMTP id m15mr20267131fao.103.1281543058288; Wed, 11 Aug 2010 09:10:58 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.223.64.145 with HTTP; Wed, 11 Aug 2010 09:10:58 -0700 (PDT) In-Reply-To: <4C62C957.8040403@gmail.com> References: <1281478269.6608.292.camel@guybrush> <4C61D6D0.90907@sugarcrm.com> <4C62B9E0.4030305@gmail.com> <1281540200.1132.36.camel@guybrush> <4C62C957.8040403@gmail.com> Date: Wed, 11 Aug 2010 18:10:58 +0200 X-Google-Sender-Auth: slMhyqvbfsruL6F_X6dlfQjcCdg Message-ID: To: Elizabeth M Smith Cc: Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Strict typing From: kalle@php.net (Kalle Sommer Nielsen) Hi Elizabeth 2010/8/11 Elizabeth M Smith : > Well this is turning into a real flamefest. > > 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. > > On the other hand I'd like to be able to have the same control of paramet= ers > in my userland code that I do in extensions - namely the same control I g= et > with zend_parse_parameters. =A0And the same errors/warnings I get with > zend_parse_parameters Sara wrote an extension for zend_parse_parameters() to expose it to userland and its available in PECL: http://svn.php.net/viewvc/pecl/params/trunk/ Im a +1 for exposing such functionality from the core/stdlib. --=20 regards, Kalle Sommer Nielsen kalle@php.net