It's documented on http://www.php.net/manual/en/zend.arguments.retrieval.php
It's a kind of promoting binary safety. Not the passed number of parameter passed to zend_parse_parameters() is important but what modifies are used to describe the parameters. Since a string is not only meant to be characters from A-Z but in fact can be anything including binary data, it's a good idea [tm] to always get the point to the string AND it's length and work with both when making further function calls (if possible). On Sat, Feb 16, 2002 at 03:08:06AM +0100, Richard Samar wrote : > > > "Sean R. Bright" wrote: > > > > len is the length of the buffer. When 's' is specified in > > zend_parse_parameters, both the string and the number of characters > > are returned to the calling function. In this case, len is the > > length of 'buf_len.' > > :-) oki, the given prototype ist wrong then. > > could you post me an example. I dont understand 's'. > > thx > > best regards > -moh > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php