stream_register_filter

php.internals

Derick Rethans

23 years ago
Hey, as we can still correct 'mistakes' I think we should rename stream_register_filter to stream_filter_register in order to have it fit more in line with stream_filter_append and stream_filter_prepend. Comments? regards, Derick
-- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ JDI Media Solutions http://www.jdimedia.nl/ International PHP Magazine http://www.php-mag.net/ -------------------------------------------------------------------------

Derick Rethans

23 years ago
On Mon, 19 May 2003, Derick Rethans wrote:
> as we can still correct 'mistakes' I think we should rename > stream_register_filter to stream_filter_register in order to have it fit > more in line with stream_filter_append and stream_filter_prepend. > Comments?
I would suggest doing the same for stream_register_wrapper btw.. Derick
-- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

Wez Furlong

23 years ago
> On Mon, 19 May 2003, Derick Rethans wrote: > > > as we can still correct 'mistakes' I think we should rename > > stream_register_filter to stream_filter_register in order to have it fit > > more in line with stream_filter_append and stream_filter_prepend. > > Comments? > > I would suggest doing the same for stream_register_wrapper btw..
the wrapper one is already in 4.3.x, so we'd need an alias, but I'm +1 on renaming the filter version. --Wez.

Moriyoshi Koizumi

23 years ago
Derick Rethans <derick@php.net> wrote:
> On Mon, 19 May 2003, Derick Rethans wrote: > > > as we can still correct 'mistakes' I think we should rename > > stream_register_filter to stream_filter_register in order to have it fit > > more in line with stream_filter_append and stream_filter_prepend. > > Comments? > > I would suggest doing the same for stream_register_wrapper btw..
I prefer to rename stream_filter_append() / stream_filter_prepend() to stream_append_filter() / stream_prepend_filter() respectively, and hopefully I like to get stream_register_filter() renamed to stream_filter_register() because the former case is about the functions which operate a specified filter and the latter is the one for operation to the stream filter registry. Anyway, I'm not very interested in this trivial issue :) Moriyoshi

Moriyoshi Koizumi

23 years ago
just a erratum: Moriyoshi Koizumi <moriyoshi@at.wakwak.com> wrote:
> which operate a specified filter and the latter is the one for operation
which operate a specifed stream and ... Moriyoshi

Derick Rethans

23 years ago
On Mon, 19 May 2003, Moriyoshi Koizumi wrote:
> Derick Rethans <derick@php.net> wrote: > > > On Mon, 19 May 2003, Derick Rethans wrote: > > > > > as we can still correct 'mistakes' I think we should rename > > > stream_register_filter to stream_filter_register in order to have it fit > > > more in line with stream_filter_append and stream_filter_prepend. > > > Comments? > > > > I would suggest doing the same for stream_register_wrapper btw.. > > I prefer to rename stream_filter_append() / stream_filter_prepend() to > stream_append_filter() / stream_prepend_filter() respectively, and > hopefully I like to get stream_register_filter() renamed to
That messes up sorting, and logical grouping of function names <extension> <subgroup> <function>... I'm going to change it unless somebody has real objections. Derick
-- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------