Re: error_handler

From: Date: Fri, 19 Dec 2003 16:06:40 +0000
Subject: Re: error_handler
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-6607@lists.php.net to get a copy of this message
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

« previous php.internals (#6607) next »