Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53183 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98292 invoked from network); 7 Jun 2011 20:44:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2011 20:44:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.vanriel@naenius.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.vanriel@naenius.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain naenius.com designates 83.96.159.14 as permitted sender) X-PHP-List-Original-Sender: mike.vanriel@naenius.com X-Host-Fingerprint: 83.96.159.14 linux35.webawere.nl Linux 2.6 Received: from [83.96.159.14] ([83.96.159.14:44493] helo=linux35.webawere.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/F8-50253-C9D8EED4 for ; Tue, 07 Jun 2011 16:44:14 -0400 Received: from 212-127-174-68.cable.quicknet.nl ([212.127.174.68] helo=[192.168.1.109]) by linux35.webawere.nl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QU385-00077x-4H; Tue, 07 Jun 2011 22:44:01 +0200 To: David =?ISO-8859-1?Q?Z=FClke?= Cc: Stas Malyshev , Martin Scotta , Matthew Weier O'Phinney , "internals@lists.php.net" In-Reply-To: <7E4C6CB6-ED93-4BFC-87B8-94FDEF243896@bitextender.com> References: <4DED3D5B.6030307@oracle.com> <4DEE782E.1020605@sugarcrm.com> <7104F8AD-489E-4824-97AA-D9831FAB77AA@bitextender.com> <4DEE8ABB.8040503@sugarcrm.com> <7E4C6CB6-ED93-4BFC-87B8-94FDEF243896@bitextender.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 07 Jun 2011 22:44:00 +0200 Message-ID: <1307479440.2671.19.camel@chronos> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: quoted-printable X-Antivirus-Scanner: Seems clean. You should still use an Antivirus Scanner Subject: Re: [PHP-DEV] Callable type From: mike.vanriel@naenius.com (Mike van Riel) To be honest: everybody knows what you mean when you say callback. Callable sounds more like the name of an interface. On Tue, 2011-06-07 at 22:32 +0200, David Z=C3=BClke wrote: > On 07.06.2011, at 22:31, Stas Malyshev wrote: >=20 > > Hi! > >=20 > >> callback is callable, the opposite could not be true. > >> a string --or a closure-- is callable, but the string is not a callbac= k > >=20 > > According to our docs, which were out there for years, it is. One of th= e main and widespread complaints about PHP is the lack of any system in nam= ing, design and documentation, it is sad to see how many people want to mak= e it worse instead of making it better >=20 > +1. I'm thinking it should be "callback", or the docs should be adjusted.= "callable" arguably does make more sense, but either way, it needs to be c= onsistent, that's what matters most. >=20 > David