I Like that idea.
- Frank
> I think ZSTR(buf) should not be present in the macro:
>
> #define php_stream_get_line(stream, buf, maxlen, retlen)
> _php_stream_get_line((stream), IS_STRING, (buf), (maxlen), 0,
> (retlen) TSRMLS_CC)
>
> Let the caller apply ZSTR() to the argument manually, if that is
required.