Zitat von Derick Rethans <[EMAIL PROTECTED]>:

> 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.

I guess it depends on your pov. If you want to write portable scripts,
relying on overloading or even special php.ini tuning is a nightmare.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to