I think that for the very rare situations when chop is actually useful, s/.$// will suffice. All sorts of optimizations will make it fast. Something used this little does not need to occupy space in the core namespace (PHP has te be "better" for something).
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
In reply to Re: a farewell to chop
by Juerd
in thread a farewell to chop
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |