Re: [RFC] Reserving More Types in PHP 7

From: Date: Tue, 28 Apr 2015 01:13:18 +0000
Subject: Re: [RFC] Reserving More Types in PHP 7
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-85980@lists.php.net to get a copy of this message
CakePHP has renamed its String class to Text and it was simple as this for us to be ready for PHP 7: https://github.com/cakephp/cakephp/blob/9ba845ef831c7f92519e5b233e294deeb0b2b53f/config/bootstrap.php#L21-L23 <https://github.com/cakephp/cakephp/blob/9ba845ef831c7f92519e5b233e294deeb0b2b53f/config/bootstrap.php#L21-L23> > On Apr 27, 2015, at 7:06 PM, Rowan Collins <rowan.collins@gmail.com> 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, > -- > Rowan Collins > [IMSoP] > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#85980) next »