Christian Schneider wrote:

> Daniel Convissor wrote:
>> Adding an optional argument has the worst of both worlds.  In order to
>> take advantage of it, one must lock your code into PHP 5.

It doesn't work this way in PHP4 anyway. So if you really must use this
feature (I think I would) you can live with being locked to PHP5. Because
when you use this feature you must anyway provide other means for your
scripts to handle this in PHP4, so a version_compare() can't kill you.

IMHO this parameter is a good thing. I've always wanted it.
+1 from me for optional parameter.

-10 for anyhting like 'use current error_reporting() setting' or 'just
change the behavior from PHP4 to PHP5' (you need version_compare() again).
Both of these proposals are equally confusing.

Lenar

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

Reply via email to