]> granicus.if.org Git - php/commitdiff
- MFH: Fix type in example
authorJohannes Schlüter <johannes@php.net>
Fri, 28 Sep 2007 22:04:39 +0000 (22:04 +0000)
committerJohannes Schlüter <johannes@php.net>
Fri, 28 Sep 2007 22:04:39 +0000 (22:04 +0000)
README.PARAMETER_PARSING_API

index fef6da4bf4e7d9ff1df494b5773393ae943d1602..052489d24292d2735832adbbdb2cd5dcb43f8ddf 100644 (file)
@@ -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;