[Phil Driscoll <[EMAIL PROTECTED]>]
> On Saturday 04 August 2001 08:49, Stig Sæther Bakken wrote:
> > [Phil Driscoll <[EMAIL PROTECTED]>]
> > With such a php_portability() function, it would be _even_ harder to
> > write portable library code (because you need to handle both
> > settings). Two wrongs won't make this one right. :-)
> Please explain!
Say PHP had a function to put it in "portable mode" changing the
behaviour of a few functions. Then for example PEAR classes would
have to deal with running both with and without this mode, since the
user can enable or disable it at will. So this would in fact add
complexity to the process of writing portable PHP code.
I think André is right that it's better to educate users (for example
by telling them to disable magic_quotes :-).
Stig Sæther Bakken <[EMAIL PROTECTED]>
Fast Search & Transfer ASA, Trondheim, Norway
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]