Re: Re: Regarding the latest patch on fgetcsv() (stable branch)
| From: | Derick Rethans | Date: | Sat, 13 Dec 2003 09:55:03 +0000 |
| Subject: | Re: Re: Regarding the latest patch on fgetcsv() (stable branch) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6404@lists.php.net to get a copy of this message | ||
On Sat, 13 Dec 2003, Moriyoshi Koizumi wrote:
> Overloading is evil, because functions like substr() are often
> used to splice a certain length of octets byte-wise while mb_substr()
> treats the sequence of octets on a character-basis. And overloading
> cannot be turned on in scripts, this prevents us from writing portable
> scripts. There're virtually no cleaner way to do the tasks elegantly.
I also think overloading is evil, w've seen before what the problems can
be because of difference between an overloaded and a non-overloaded
version. It is however perfectly possible to tune this behavior in the
php.ini file; not sure if we want that though.
Derick