Re: Re: cvs: php4 /ext/standard file.c
| From: | Derick Rethans | Date: | Mon, 10 Feb 2003 09:00:11 +0000 |
| Subject: | Re: Re: cvs: php4 /ext/standard file.c | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94121@lists.php.net to get a copy of this message | ||
On Mon, 10 Feb 2003, Markus Fischer wrote:
> On Sun, Feb 09, 2003 at 08:05:14PM -0000, Ilia Alshanetsky wrote :
> > iliaa Sun Feb 9 15:05:14 2003 EDT
> >
> > Modified files:
> > /php4/ext/standard file.c
> > Log:
> > Added feature request #14097 (option allowing file() command not to include
> > line endings in it's output. As well as another option, which allows blank
> > lines to be excluded from the output).
>
> Can we change this to not have two more optional parameters
> but re-use the existing one?
>
> We could turn the existing one into a "flags" parameter:
>
> 1 - use include path
> 2 - include new line
> 4 - skip_blank_lines
>
> This would not break BC and we don't need multiple optional
> parameters.
+1 on that.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------