Re: String Class
| From: | Bertrand Mansion | Date: | Mon, 13 Dec 2004 08:28:56 +0000 |
| Subject: | Re: String Class | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35029@lists.php.net to get a copy of this message | ||
Matthew Fonda wrote:
>Hello,
>
>I have created a string class in PHP. It is pretty much a copy of java's
>String class, but it will add a few new features, and allows you to do
>certain things with strings in PHP easier and quicker. I find this
>useful when you are using strings that you need to do a lot of stuff to,
>it works better than just using PHP's default string functions, and
>provides an OOP wrapper for them.
This looks completely useless to me. Almost every methods you propose already
exist as a native PHP function which will of course be a lot faster to call.
But that's just my opinion, PHP is not Java. I wouldn't like to see PHP code
developed with this kind of wrappers. So it is a -1 here.
Bertrand Mansion
Mamasam