# ZSTR and NULL problems again

- Thread: https://externals.io/message/22963
- Original archive: https://news-web.php.net/php.internals/22963
- Started by Frank M. Kromann on 2006-04-25T15:51:29+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #22963 — Frank M. Kromann — 2006-04-25T15:51:29+00:00

URL: https://externals.io/message/22963#22963

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.
> 
> --Wez.
> 
> 
> > […]
