Re: Re: [RFC] Reserving More Types in PHP 7

From: Date: Tue, 28 Apr 2015 08:48:15 +0000
Subject: Re: Re: [RFC] Reserving More Types in PHP 7
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-85986@lists.php.net to get a copy of this message
On 28 April 2015 03:50:07 GMT+01:00, Larry Garfield <larry@garfieldtech.com> wrote: >On 04/27/2015 06:06 PM, Rowan Collins wrote: >> On 26 April 2015 20:36:12 GMT+01:00, Nate Abele ><nate.abele@gmail.com> wrote: >> Lithium, CakePHP, and Drupal all have String classes. >> >> I gather that Drupal's String class was actually a rather badly >designed utility class, and its methods have been rehomed in more >specific areas. AFAICS, it was only added in Drupal 8, which is still >in beta, so there isn't a large historical code base referencing it, >anyway. >> >> Regards, > >Drupal's String class was added in Drupal 8, and was quickly renamed. >So >quickly that I didn't even notice we'd done it. :-) The "badly >designed" claim is off topic and I will not respond to it. Sorry, that was a poor choice of words, I wasn't meaning it critically. What I'd heard was that the opportunity was taken to evaluate the best home for each of the methods, rather than renaming the whole class to something else. Either way, the point as you say is that the problem has been quickly remedied and never hit production released code. Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#85986) next »