Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70694 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60270 invoked from network); 17 Dec 2013 01:49:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2013 01:49:28 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.52 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.52 mail-wg0-f52.google.com Received: from [74.125.82.52] ([74.125.82.52:50778] helo=mail-wg0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/57-32483-7ADAFA25 for ; Mon, 16 Dec 2013 20:49:28 -0500 Received: by mail-wg0-f52.google.com with SMTP id x13so5455915wgg.7 for ; Mon, 16 Dec 2013 17:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=GqflweolWtnSKQ8J7zeE0leS6LDf366QxtsC6ES85j8=; b=pJk4C7TI/VyhCVEswDjX711KA8z3sQxMeoDt01l8z9vTgxYuozQFQz2ui2BCi86ZIb F8NlJFXuh0dF1Ms6g2GDA9p1i73Blwp6/xQkj+oPMgEtqqNJc3FVmuSmU+OxoNMoLcyU pG5Ya77w3fOXW8IIqNZFXhEUZelmC6sleJ/8C8Gou/YsgSPmOG340Eg5saID8FjFG8zP tlbwh6W0WGrD4t7Ovmb3ALZ0IT0SI8CIdMGq2P3mHf1LYlNim36+vaNHz6XXPe7nQVjU Iu0WqdtC0tEq1rfEJLtinP+H9+ayh53qHz7DFkY8Pvqzj87xF3eO+pw+HhKgOeEtJ0ZV +Klg== X-Received: by 10.194.77.202 with SMTP id u10mr16415161wjw.39.1387244965156; Mon, 16 Dec 2013 17:49:25 -0800 (PST) Received: from [192.168.0.2] (cpc19-brig17-2-0-cust25.3-3.cable.virginm.net. [81.101.201.26]) by mx.google.com with ESMTPSA id md9sm3089592wic.1.2013.12.16.17.49.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 17:49:24 -0800 (PST) Message-ID: <52AFAD98.40002@gmail.com> Date: Tue, 17 Dec 2013 01:49:12 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: PHP Internals References: <52ABFE84.8010404@cerny-online.com> <52AF4383.3070406@gmail.com> <52AF4DD3.1090609@cerny-online.com> <52AF5C5F.5020101@gmail.com> <52AF7044.5080001@cerny-online.com> <52AF9B10.9020301@gmail.com> <52AFA7B6.1030305@lerdorf.com> In-Reply-To: <52AFA7B6.1030305@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Flexible function naming From: rowan.collins@gmail.com (Rowan Collins) On 17/12/2013 01:24, Rasmus Lerdorf wrote: > This was circa late 1994 when PHP was a tool just for my own > personal use and I wasn't too worried about not being able to remember > the few function names. Absolutely, and to make sure it's clear, I meant absolutely no offence or criticism in mentioning it. If I ever invent a language that comes to be used by millions, then just maybe I'd have the right to criticise. :) I actually picked htmlspecialchars() as an example because I remembered you using it as one at a conference. I guess I could have pointed out that in its way there was a naming convention: pick names with different lengths where possible - but I didn't want to drift off-topic. My main point is that if we were to impose a new naming scheme on existing functions, adding or removing underscores would be just the tip of the iceberg. -- Rowan Collins [IMSoP]