RE: [PHP] Chomp, Chomp, Chomp
| From: | Lars Torben Wilson | Date: | Fri, 20 Jun 2003 23:26:58 +0000 |
| Subject: | RE: [PHP] Chomp, Chomp, Chomp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152358@lists.php.net to get a copy of this message | ||
On Fri, 2003-06-20 at 16:16, Aaron Axelsen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The php chop function is suppose to act like the perl chomp.
No, chop() is an alias for rtrim(), and is identical in every way
(save for its name, of course...)
http://www.php.net/chop
Cheers,
Torben
--
Torben Wilson <torben@php.net> +1.604.709.0506
http://www.thebuttlesschaps.com http://www.inflatableeye.com
http://www.hybrid17.com http://www.themainonmain.com
-----==== Boycott Starbucks! http://www.haidabuckscafe.com ====-----