Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49350 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49558 invoked from network); 11 Aug 2010 16:01:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 16:01:37 -0000 Authentication-Results: pb1.pair.com header.from=auroraeosrose@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=auroraeosrose@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: auroraeosrose@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qy0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:55271] helo=mail-qy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/E8-01618-069C26C4 for ; Wed, 11 Aug 2010 12:01:37 -0400 Received: by qyk31 with SMTP id 31so877050qyk.8 for ; Wed, 11 Aug 2010 09:01:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=oco/p8VTaxDFcr5VQ3I/HrYNjqQZW4uOVnz0vZzr5rA=; b=vS1WkaRnE1z+FW7f/mQFEBfFOxUEBMxuZ+KnuhrjoyqAtBDy/g5cPlAkf6xFUJsWNb UC8yP50wZ2HBA2nvwtcmnlQAwiRhFTizNy/A3J9JnIiiybDXPtvPZgIb84F1p+vgtKnH F3aPw8yQ1KhicXoIrs6E3pPokes+leL6ooN04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=iiLUVmiHgnmhcLEdgNQLYVAAMoutZf10rRMGUrSOzP5BEAarTRTj18W7BajkGJMI76 ngyfLYudRYP+cSj+WVpgySqDBhhOSUSLAvwtV2hFwuEPiHvT+xtiYYoPENuhzmaQYajF jGt5He2FpmJHBnnojkz6PgLjATfyZUVLjq59E= Received: by 10.224.51.15 with SMTP id b15mr10988144qag.394.1281542492629; Wed, 11 Aug 2010 09:01:32 -0700 (PDT) Received: from [192.168.1.202] (24-247-219-180.dhcp.cdwr.mi.charter.com [24.247.219.180]) by mx.google.com with ESMTPS id r38sm316509qcs.38.2010.08.11.09.01.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Aug 2010 09:01:29 -0700 (PDT) Message-ID: <4C62C957.8040403@gmail.com> Date: Wed, 11 Aug 2010 12:01:27 -0400 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Internals References: <1281478269.6608.292.camel@guybrush> <4C61D6D0.90907@sugarcrm.com> <4C62B9E0.4030305@gmail.com> <1281540200.1132.36.camel@guybrush> In-Reply-To: <1281540200.1132.36.camel@guybrush> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Strict typing From: auroraeosrose@gmail.com (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 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 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. 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. Thanks, Elizabeth M Smith