cvs: php4 / README.PARAMETER_PARSING_API

From: Date: Wed, 03 Jul 2002 14:01:19 +0000
Subject: cvs: php4 / README.PARAMETER_PARSING_API
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12693@lists.php.net to get a copy of this message
derick Wed Jul 3 10:01:19 2002 EDT Modified files: /php4 README.PARAMETER_PARSING_API Log: - Fix README Index: php4/README.PARAMETER_PARSING_API diff -u php4/README.PARAMETER_PARSING_API:1.3 php4/README.PARAMETER_PARSING_API:1.4 --- php4/README.PARAMETER_PARSING_API:1.3 Tue Oct 23 15:57:45 2001 +++ php4/README.PARAMETER_PARSING_API Wed Jul 3 10:01:18 2002 @@ -105,11 +105,13 @@ /* Get either a set of 3 longs or a string. */ long l1, l2, l3; char *s; +long length; + if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "lll", &l1, &l2, &l3) == SUCCESS) { /* manipulate longs */ } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, - "s", &s) == SUCCESS) { + "s", &s, &length) == SUCCESS) { /* manipulate string */ } else { /* output error */

« previous php.cvs (#12693) next »