Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53103 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23288 invoked from network); 6 Jun 2011 23:08:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jun 2011 23:08:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:59987] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/90-20040-50E5DED4 for ; Mon, 06 Jun 2011 19:08:54 -0400 Received: by wyb34 with SMTP id 34so3594982wyb.29 for ; Mon, 06 Jun 2011 16:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Uy1pWpY4JqQfBGfbU8uXzLyRMt9kbVjsOJQ84b7PJMg=; b=HI5wXkVnQy3N0gzlgv31kVjM1nllD0yDBv5nPJTD3bpx2luTFo831/L2/a/q5xvQu5 P84vyPikanna++fWojIwMTy+9dEtbn+E6U1xM/85VEm7qHiLEjocTCVIHirP8qYUL4Ck yIA9vjE5fj+ogaBuNmMVRqnlyvpdrOhhwxMbY= 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; b=l4vEcakuSyb4fycS/0Nu1TzZ+qdVX246qdWdoXLkf5IVRQRRlTbRjuqOg8T/TNDjOY s4WRFO6a4mVMZfv+ggLFwXEOZC38w1HoMUsnVMsyH87+AElSPF1H4U7kbJQBvymHlxyf wHyTYAoTK/fju6imq7wqTMoz6Ap3dakxIsVds= MIME-Version: 1.0 Received: by 10.217.4.66 with SMTP id t44mr2973930wes.104.1307401304078; Mon, 06 Jun 2011 16:01:44 -0700 (PDT) Sender: tyra3l@gmail.com Received: by 10.216.64.6 with HTTP; Mon, 6 Jun 2011 16:01:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 7 Jun 2011 01:01:44 +0200 X-Google-Sender-Auth: gdFyaDeW_G9akMEXFcdT7izSJWw Message-ID: To: Hannes Magnusson Cc: PHP Development Content-Type: multipart/alternative; boundary=20cf301fb9054ef96f04a5131623 Subject: Re: [PHP-DEV] Callable typehint From: info@tyrael.hu (Ferenc Kovacs) --20cf301fb9054ef96f04a5131623 Content-Type: text/plain; charset=UTF-8 On Mon, Jun 6, 2011 at 9:41 PM, Hannes Magnusson wrote: > Hi > > As quickly mentioned in the '$arr = array('Hello', 'world'); $arr();' > thread[1], we are hitting the need for a callable typehint. > > > See attached patch+phpt; Any objections to include it in 5.4? > > -Hannes > > [1] http://php.markmail.org/message/gdas65h3im52sleg > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > +1 but please create an RFC for it, or we will argue this to death. Tyrael --20cf301fb9054ef96f04a5131623--