From: Johannes Schlüter Date: Fri, 28 Sep 2007 22:04:47 +0000 (+0000) Subject: - MFH: Fix type in example X-Git-Tag: php-5.2.5RC1~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11d5f9c7c43a642fe510b9fe972619cc4192ce1a;p=php - MFH: Fix type in example --- diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API index fef6da4bf4..052489d242 100644 --- a/README.PARAMETER_PARSING_API +++ b/README.PARAMETER_PARSING_API @@ -70,7 +70,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsz", /* Gets an object of class specified by my_ce, and an optional double. */ zval *obj; double d = 0.5; -zend_class_entry my_ce; +zend_class_entry *my_ce; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d", &obj, my_ce, &d) == FAILURE) { return;