1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 08:33:06 +02:00

- Fix README

This commit is contained in:
Derick Rethans
2002-07-03 14:01:18 +00:00
parent bb21c40738
commit dfd8ea7147

View File

@@ -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 */