Re: PHP new proposal

From: Date: Wed, 28 May 2014 17:47:12 +0000
Subject: Re: PHP new proposal
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74601@lists.php.net to get a copy of this message
On 28 May 2014, at 17:53, JoRrrr Maglione <jorr.hs@hotmail.com> 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/

« previous php.internals (#74601) next »