Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74601 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65621 invoked from network); 28 May 2014 17:47:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2014 17:47:24 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.197 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.197 imap3-2.ox.privateemail.com Received: from [192.64.116.197] ([192.64.116.197:38623] helo=imap3-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/2C-02991-A2126835 for ; Wed, 28 May 2014 13:47:23 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id E69152A0093; Wed, 28 May 2014 13:47:19 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap3.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap3.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CGtEmE0Qw1nz; Wed, 28 May 2014 13:47:19 -0400 (EDT) Received: from [192.168.0.200] (unknown [90.203.28.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id B2F0B2A007D; Wed, 28 May 2014 13:47:17 -0400 (EDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) In-Reply-To: Date: Wed, 28 May 2014 18:47:12 +0100 Cc: PHP Content-Transfer-Encoding: quoted-printable Message-ID: <1561D0FE-4CE4-4391-9991-A9CE97A0D021@ajf.me> References: To: JoRrrr Maglione X-Mailer: Apple Mail (2.1878.2) Subject: Re: [PHP-DEV] PHP new proposal From: ajf@ajf.me (Andrea Faulds) On 28 May 2014, at 17:53, JoRrrr Maglione wrote: > Hello. I like programming in PHP, and I've made some abstract classes = called "Strings", "Math", "Array" which group all the functions refering = to their data type.My idea is creating classes like "Strings", "Math", = "Arrays" which should be abstract and have static methods, for = example:All functions about strings should be inside "Strings Class" the = same for "Math" and "Arrays". > I would like these classes to be part of PHP core.Hope you understand = what I'm saying.! A similar but different idea has already been proposed, namely methods = on scalars and arrays, which is Nikita Popov's (aka nikic) idea. -- Andrea Faulds http://ajf.me/