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

index 9c21f5f6a0a873f4b128c363da247d045e9561c4..9c29b714bc8b064037728e1999ec015a8d1a48a9 100644 (file)
@@ -93,7 +93,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;