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.coll...@gmail.com> 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,
> --
> Rowan Collins
> [IMSoP]
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>