Re: json_decode calls zend_parse_parameters with type_spec "t"

From: Date: Thu, 13 Nov 2008 12:01:12 +0000
Subject: Re: json_decode calls zend_parse_parameters with type_spec "t"
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-51078@lists.php.net to get a copy of this message
On Thu, Nov 13, 2008 at 12:47, <jtaal@eljakim.nl> wrote: > I'm looking at the source code of json_decode. > > It calls zend_parse_parameters: > zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "t|b", &str, &str_len, > &str_type, &assoc) > > The type_spec arg is "t|b", but I can't find any documentation on the > "t". > Reading zend_parse_va_args in zend_API.c I can't see why passing "t" would > not issue an error... > > Any pointers toward what this "t" flag does is appreciated. http://cvs.php.net/viewvc.cgi/php-src/README.PARAMETER_PARSING_API?revision=1.25&view=markup#l54 Note: that type only exists in HEAD, not 5.x -Hannes

« previous php.pear.dev (#51078) next »