On 28 April 2015 03:50:07 GMT+01:00, Larry Garfield <la...@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.ab...@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] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php