Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57443 invoked from network); 25 Jan 2013 14:24:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2013 14:24:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=turneliusz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=turneliusz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.52 as permitted sender) X-PHP-List-Original-Sender: turneliusz@gmail.com X-Host-Fingerprint: 74.125.83.52 mail-ee0-f52.google.com Received: from [74.125.83.52] ([74.125.83.52:36221] helo=mail-ee0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/65-03402-09592015 for ; Fri, 25 Jan 2013 09:24:16 -0500 Received: by mail-ee0-f52.google.com with SMTP id b15so215670eek.39 for ; Fri, 25 Jan 2013 06:24:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6UIIbGGOeghehxfCuzb+kUA4MuifDH+NDLr2OoC2lYc=; b=uaz2FPKCaDd7hLr1Xi2qYO3eEExE8ZYqcu7xlMOW34AQnP+5BfJx4Md7FPvzTEj6kN lf6lfOxsOhlr2lTRcVjevlcDVp2bZc9zOtTIrFHCSZIGRqfMAJjC0YsQ1k4ONdDwMOZy bg7uFmh4G8OhVFr7aXqK79MHK3ADn6s8MiSE7581otlicOjHnUdbFRmuB1rMUYWxwSTz m/Z/W/EYnYtpMnATiHY02R6YWf6XUBsNinfXqyI2a1RCux1bI92Ro9KFvjqKfBQN4mKv xH8VNB9b1j90i9kEpM6ZBhrcFpFx+2mXudk90+OYOzmcVd9gwWiMiDXVXED66wW3eeRb LvEA== MIME-Version: 1.0 X-Received: by 10.14.223.200 with SMTP id v48mr18535674eep.24.1359123852926; Fri, 25 Jan 2013 06:24:12 -0800 (PST) Received: by 10.223.160.136 with HTTP; Fri, 25 Jan 2013 06:24:12 -0800 (PST) Date: Fri, 25 Jan 2013 15:24:12 +0100 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Subject: I think that "Function naming inconsistency" bug deservers more attention From: turneliusz@gmail.com (=?ISO-8859-2?Q?Damian_Tylczy=F1ski?=) I've seen discussion on reddit http://www.reddit.com/r/PHP/comments/174qng/lets_make_phps_function_names_c= onsistent/ where many people are surprised why PHP can't have this done. Why inconsistency is something that we want to keep because of backward compatibility. PHP already introduced many backward compatibility issues and this change could just be fixed in old PHP projects (prior to for example PHP 6 or PHP 5.5) by just simple "find & replace" script in really most of the cases. Why it is so hard to deprecate functions that uses naming convention that dosen't really exist, that names were created by some crazy "let's imagine some name and don't look at API we have" man? Why we can't have PHP 6 that will be not some amazingly featured-packed version but version with API that just... makes sense. Regards, Damian Tylczy=F1ski