Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53185 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8268 invoked from network); 7 Jun 2011 21:16:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2011 21:16:15 -0000 Authentication-Results: pb1.pair.com header.from=dukeofgaming@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=dukeofgaming@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: dukeofgaming@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-gw0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:55687] helo=mail-gw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/EA-50253-E159EED4 for ; Tue, 07 Jun 2011 17:16:14 -0400 Received: by gwb17 with SMTP id 17so2365277gwb.29 for ; Tue, 07 Jun 2011 14:16:12 -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:from:date :message-id:subject:to:cc:content-type; bh=Ywqz1Zxns3LWFEUJSAoU8sqLPoSua3Dv0tIf/b1TmGo=; b=DhVIiZijUIJwPDyUaKswFhQXKbt5sTdxfH+yS9lEY5Zgri6l2yy3/Pgd5XcseuAAN0 8bH1DcywubfuA2/rSVO/65U529BSwaXWFWfIjpDmuORdtRtnBdJkFtg1b5OwVWkkLeay LNDr20/N8StI0kyBf79uhAZn7QgnqMrltOGFo= 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; b=BhU78PHOm4IFjXliGPN9Fic82NbJmEbyr7550uc8aUOZXHg+rWndMSQg+VQV1xzeMb dD/THt3eR33tCx+u5BXTg7T7x6Ypc+VA7jl//BjUNLhysDgTA6895zwLKn39bcejfNqG K+KKPUxXJj0uxkIdBvRo++22fyUhIcw38NbAE= Received: by 10.101.136.26 with SMTP id o26mr2260280ann.72.1307481372117; Tue, 07 Jun 2011 14:16:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.207.10 with HTTP; Tue, 7 Jun 2011 14:15:52 -0700 (PDT) In-Reply-To: <17.29.50253.ACD8EED4@pb1.pair.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> <17.29.50253.ACD8EED4@pb1.pair.com> Date: Tue, 7 Jun 2011 16:15:52 -0500 Message-ID: To: "Matthew Weier O'Phinney" Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=0016e68ee3e4bc4b0e04a525bac6 Subject: Re: [PHP-DEV] Callable type From: dukeofgaming@gmail.com (dukeofgaming) --0016e68ee3e4bc4b0e04a525bac6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable +1 for "callable", it is really more consistent. On Tue, Jun 7, 2011 at 3:44 PM, Matthew Weier O'Phinney < weierophinney@php.net> wrote: > On 2011-06-07, David Z=FClke wrote: > > On 07.06.2011, at 22:31, Stas Malyshev wrote: > > > > > Hi! > > > > callback is callable, the opposite could not be true. a string > > > > --or a closure-- is callable, but the string is not a callback > > > > > According to our docs, which were out there for years, it is. One of > > the main and widespread complaints about PHP is the lack of any system > > in naming, design and documentation, it is sad to see how many people > > want to make it worse instead of making it better > > > > +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 consistent, that's what matters most. > > Agreed, here. "callback" is the usage throughout the documentation to > refer to anything that passes is_callable(). > > -- > Matthew Weier O'Phinney > Project Lead | matthew@zend.com > Zend Framework | http://framework.zend.com/ > PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --0016e68ee3e4bc4b0e04a525bac6--