diff options
| author | Zeev Suraski <zeev@php.net> | 2003-08-24 16:27:01 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2003-08-24 16:27:01 +0000 |
| commit | ea36fc4143188228eb31c54b746e9d5884db5cd6 (patch) | |
| tree | 0874300c15fc1d7ef1739a493a66c93a9c90349d /Zend/zend_API.c | |
| parent | a9107e2be1f0ffc961d98776aa8dcf349fb992c9 (diff) | |
| download | php-git-ea36fc4143188228eb31c54b746e9d5884db5cd6.tar.gz | |
Use ""'s if you want empty strings. We want to crash on errors.
Diffstat (limited to 'Zend/zend_API.c')
| -rw-r--r-- | Zend/zend_API.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 9e9643f9f4..3451f0ff5a 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1736,9 +1736,6 @@ ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, ALLOC_ZVAL(tmp); tmp->is_ref = 0; tmp->refcount = 0; - if (!value) { - value = ""; - } ZVAL_STRING(tmp, value, 1); zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); } |
