Re: * New Parameter Parsing Functions *
| From: | Wez Furlong | Date: | Fri, 12 Oct 2001 10:33:26 +0000 |
| Subject: | Re: * New Parameter Parsing Functions * | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67839@lists.php.net to get a copy of this message | ||
On 12/10/01, "Markus Fischer" <mfischer@guru.josefine.at> wrote:
> > ! - the parameter it follows can be of specified type or NULL (only
> "l|!r",
> myfunc() expects argument 2 to be unknown, null given
> Is the format string syntax wrong?
Yes; the ! should follow the type spec, so you really want:
"l|r!" as your format string.
--Wez.