Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Call ZEND_SET_SYMBOL_WITH_LENGTH() with refcount 1 from the standard

  ZEND_SET_SYMBOL()
  • Loading branch information...
commit 4c8259b538df157bf2cca3beed87c2da72abbf0f 1 parent 8f91051
@andigutmans andigutmans authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Zend/zend_API.h
View
2  Zend/zend_API.h
@@ -247,7 +247,7 @@ ZEND_API int add_property_stringl(zval *arg, char *key, char *str, uint length,
{ \
char *_name = (name); \
\
- ZEND_SET_SYMBOL_WITH_LENGTH(symtable, _name, strlen(_name)+1, var, 0, 0); \
+ ZEND_SET_SYMBOL_WITH_LENGTH(symtable, _name, strlen(_name)+1, var, 1, 0); \
}
#define ZEND_SET_SYMBOL_WITH_LENGTH(symtable, name, name_length, var, _refcount, _is_ref) \
Please sign in to comment.
Something went wrong with that request. Please try again.