summaryrefslogtreecommitdiff
path: root/README.PARAMETER_PARSING_API
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2007-09-28 22:04:39 (GMT)
committerJohannes Schlüter <johannes@php.net>2007-09-28 22:04:39 (GMT)
commite9dd6fab9194b3ae717b79322853dfa6fb64fb28 (patch)
tree9682e750e0b77541fad2039fa95d3f566e369d96 /README.PARAMETER_PARSING_API
parent059b506d3893f8879e9e726547f8d92f4ca01050 (diff)
downloadphp-e9dd6fab9194b3ae717b79322853dfa6fb64fb28.tar.gz
- MFH: Fix type in example
Diffstat (limited to 'README.PARAMETER_PARSING_API')
-rw-r--r--README.PARAMETER_PARSING_API2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.PARAMETER_PARSING_API b/README.PARAMETER_PARSING_API
index fef6da4..052489d 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;