Re: cvs: php4 /ext/standard file.c
| From: | Ilia A. | Date: | Mon, 10 Feb 2003 14:35:12 +0000 |
| Subject: | Re: cvs: php4 /ext/standard file.c | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94125@lists.php.net to get a copy of this message | ||
On February 10, 2003 03:34 am, you 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.
Do we want to create constants for each option or simply accept integer
values?
Ilia