Re: trim() is very strange inside a class...
| From: | Lars Torben Wilson | Date: | Mon, 11 Sep 2000 10:18:43 +0000 |
| Subject: | Re: trim() is very strange inside a class... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16143@lists.php.net to get a copy of this message | ||
Maxim Maletsky writes:
> Hello,
>
> I was developing a function and there was a trim().
> after I saw that my faction became too big, I created a class, using same
> codes.
>
> Now, the funny thing is that trim() doesn't work properly anymore when it
> ended up inside a class...
> it still filters the beginning of the string but forgets about the end of
> it..
> I swear, I didn't touch that line (or whatever could ever affect it) at all
> while making the class from my code...
>
> What could it be, guys?
> Have any of you had a similar problem?
>
> any suggestions?
>
> Thank you.
Can you show us some code?
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+