# zend_parse_parameters 's!' for NULL string ok?

- Thread: https://externals.io/message/27783
- Original archive: https://news-web.php.net/php.internals/27783
- Started by Michael B Allen on 2007-02-05T04:24:33+00:00
- Messages: 2
- 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

---

## #27783 — Michael B Allen — 2007-02-05T04:24:33+00:00

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

The documentation claims:

 The following characters also have a meaning in the specifier string:
   ! - the parameter it follows can be of specified type or `NULL` (only
   applies to a, o, O, r, and z). If `NULL` value is passed by the user,
   the storage pointer will be set to NULL.

Does the '!' character also work with strings (s)? It seems to work but
I just want to make sure.

Mike

[1] http://www.zend.com/apidoc/zend.arguments.retrieval.php

-- 
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/

---

## #27812 — Andrei Zmievski — 2007-02-05T17:59:08+00:00

URL: https://externals.io/message/27783#27812 · In reply to: #27783

Yes, it does work with 's'. I updated the README.

-Andrei



> The documentation claims:
>
>  The following characters also have a meaning in the specifier string:
>    ! - the parameter it follows can be of specified type or `NULL` (only
>    applies to a, o, O, r, and z). If `NULL` value is passed by the user,
>    the storage pointer will be set to NULL.
>
> Does the '!' character also work with strings (s)? It seems to work but
> I just want to make sure.
>
> Mike
>
> [1] http://www.zend.com/apidoc/zend.arguments.retrieval.php
>
> -- 
> Michael B Allen
> PHP Active Directory SSO
> http://www.ioplex.com/
