summaryrefslogtreecommitdiff
path: root/apidoc-zend.txt
diff options
context:
space:
mode:
Diffstat (limited to 'apidoc-zend.txt')
-rw-r--r--apidoc-zend.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/apidoc-zend.txt b/apidoc-zend.txt
index 4667ed501a..1b4a4f7f91 100644
--- a/apidoc-zend.txt
+++ b/apidoc-zend.txt
@@ -64,7 +64,7 @@ php3_write()
php4_write()
{
- pval *newval = (pval *) emalloc(sizeof(pval));
+ pval *newval = ALLOC_ZVAL();
newval->refcount=1;
newval->is_ref=0;