Permalink
Browse files

- Fix README

  • Loading branch information...
1 parent bb21c40 commit dfd8ea7147088253712e05c09dc0420f9c9620b7 Derick Rethans committed Jul 3, 2002
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.PARAMETER_PARSING_API
@@ -105,11 +105,13 @@ if (zend_parse_parameters(3 TSRMLS_CC, "zbr!",
/* 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 */

0 comments on commit dfd8ea7

Please sign in to comment.