Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23462 invoked from network); 7 Jul 2009 18:05:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2009 18:05:10 -0000 Authentication-Results: pb1.pair.com header.from=paul.biggar@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=paul.biggar@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.224 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: paul.biggar@gmail.com X-Host-Fingerprint: 209.85.220.224 mail-fx0-f224.google.com Received: from [209.85.220.224] ([209.85.220.224:55967] helo=mail-fx0-f224.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/06-17523-35E835A4 for ; Tue, 07 Jul 2009 14:05:10 -0400 Received: by fxm24 with SMTP id 24so5105610fxm.23 for ; Tue, 07 Jul 2009 11:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=jqARrTLq2mtWFB4Q69X4vo9rWOEW/oDsQ8XUNYCPnAo=; b=qn3yhWysLtmr47AW93DjQq2NrvOw2VCNDpJM1WY9+vCmacJ74hAG+lJctg1pkQ+I/D b/eAw9Jp363agsGsGSettUPnS2upD2x4uCpFBrRKZEJuP1Zp/iLPzmy5r+GCL18h1011 gJgl4zEs7LwbZZqno5v4HgMosWnO5+P0AbOqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=sP/8BKcKAq2PCKXtvWr0vONShyjd+Oht7GW8cXtBu91tGUSptSi3pz+r8QSPQv3wGV iPrgMAEQaCaaFtHAHVR4jJb9+K2dR0UL5IL03jyv6ieIOH2t0BvcRy/DyQn81WIsa8lC puk0atYZdoJHgXJZUI3F0f8XXO9BkgJz2s2cI= MIME-Version: 1.0 Received: by 10.204.59.73 with SMTP id k9mr5953246bkh.167.1246989902170; Tue, 07 Jul 2009 11:05:02 -0700 (PDT) In-Reply-To: <6D12BDB9-35F6-4CB8-9E25-6571F4C51B59@pooteeweet.org> References: <2D0F5226-EBCA-4B45-BF01-8ED1C643976C@prohost.org> <4A53825F.1080006@gravitonic.com> <4A53832E.6030105@gravitonic.com> <6D12BDB9-35F6-4CB8-9E25-6571F4C51B59@pooteeweet.org> Date: Tue, 7 Jul 2009 19:04:42 +0100 Message-ID: To: Lukas Kahwe Smith Cc: Andrei Zmievski , Ilia Alshanetsky , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Type hinting/casting request for vote From: paul.biggar@gmail.com (Paul Biggar) On Tue, Jul 7, 2009 at 6:41 PM, Lukas Kahwe Smith wrote: > B) foo($bar); > function bar((int) $bar) {} > > What am I really saying with B)? > I don't care what you give me, I am going to use it as an int anyways? Exactly. Very simple. I would phrase it as "I'll accept anything and cast it to an int". > Of course I am also quite opposed to sticking this into 5.3. On which grounds? If you don't like the feature, please cast a -1 vote. If its because of the BC problems, I believe you and Johannes have veto power on what goes into 5.3.x? If so, do you intend to use it? > Finally I would like to ask to rename this entire feature (including what we > currently already have) to "type checking" or something other than "hint" in > the documentation. Seconded. Thanks, Paul -- Paul Biggar paul.biggar@gmail.com