Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53179 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90215 invoked from network); 7 Jun 2011 20:28:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2011 20:28:53 -0000 Authentication-Results: pb1.pair.com header.from=martinscotta@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=martinscotta@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: martinscotta@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:46163] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/47-50253-40A8EED4 for ; Tue, 07 Jun 2011 16:28:53 -0400 Received: by vxb40 with SMTP id 40so4393924vxb.29 for ; Tue, 07 Jun 2011 13:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=y+1HTlK+DGeyrW+yT1Z7VYp3FBb2jiS4KL+HpCfxPrs=; b=GVn8s+gOuWK2AwWYYuG/M7zAZkehik6J9E2igF2li9955HvudECUe1baHciyerbVcD WnwGYyyp7CTsNJ4ITalADg1CHQpMBmAWFaDuJKmVZDLlIGHbO6xXgUDqSI5WZrmwvtJa W51ehUuD/VYyIE79um1lwjq2u7UF1aUTp4/yo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dzJAHbQ7ETwCdjWQ70ypkWxoFlYDJKkuhr5U4tj0s6p/bI2pWDyOb+QWgxMN4vSbQU nlS4Dll2BzHIZNlQQLGVTAZx6tvvO3Ib0vvHGC4nGnC6Qbos9AnYPljkQp5pSNkbeSXR 2gXAbG8wlMdT1KAxXEJQOUDPK7tBgnAdOHF6A= MIME-Version: 1.0 Received: by 10.220.199.73 with SMTP id er9mr1119681vcb.83.1307478529214; Tue, 07 Jun 2011 13:28:49 -0700 (PDT) Received: by 10.220.192.129 with HTTP; Tue, 7 Jun 2011 13:28:49 -0700 (PDT) In-Reply-To: <7104F8AD-489E-4824-97AA-D9831FAB77AA@bitextender.com> References: <4DED3D5B.6030307@oracle.com> <4DEE782E.1020605@sugarcrm.com> <7104F8AD-489E-4824-97AA-D9831FAB77AA@bitextender.com> Date: Tue, 7 Jun 2011 17:28:49 -0300 Message-ID: To: =?ISO-8859-1?Q?David_Z=FClke?= Cc: Stas Malyshev , "Matthew Weier O'Phinney" , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=90e6ba53b0704908b204a5251113 Subject: Re: [PHP-DEV] Callable type From: martinscotta@gmail.com (Martin Scotta) --90e6ba53b0704908b204a5251113 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable callback is callable, the opposite could not be true. a string --or a closure-- is callable, but the string is not a callback IMHO callable fits better. Martin Scotta On Tue, Jun 7, 2011 at 4:28 PM, David Z=FClke wrote: > On 07.06.2011, at 21:12, Stas Malyshev wrote: > > > Hi! > > > >> https://wiki.php.net/rfc/callable > > > > Note also that this pseudo-type is called "callback" in all of our > documentation, which means we have now documentation that says: > > > > bool array_walk ( array &$array , callback $funcname [, mixed $userdata= ] > ) > > > > and type check that says "callable". > > Oh, good point. It should be "callback" then, too, maybe? Or the > documentation should be adjusted (which might be a good idea, as "$funcna= me" > doesn't reflect the realities anymore). > > David > > --90e6ba53b0704908b204a5251113--