diff options
author | Marcus Boerger <helly@php.net> | 2004-08-19 07:16:02 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-08-19 07:16:02 +0000 |
commit | 5e1a0f4c0cd459e80717eb1a4f5d38a162b5a55b (patch) | |
tree | 3bdf11b96bdd1554eb7dfb4e0881927052f06cde /ext/reflection/php_reflection.c | |
parent | 77319b779a6decb0f5afe385958a902872e9ad94 (diff) | |
download | php-git-5e1a0f4c0cd459e80717eb1a4f5d38a162b5a55b.tar.gz |
- Nedd to work on copy
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index ba9ad6626d..0cf78467c4 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -531,7 +531,8 @@ static void _parameter_string(string *str, zend_function *fptr, struct _zend_arg zval *zv, zv_copy; int use_copy; string_write(str, " = ", sizeof(" = ")-1); - zv = &precv->op2.u.constant; + zv_copy = precv->op2.u.constant; + zv = &zv_copy; zval_update_constant(&zv, (void*)1 TSRMLS_CC); if (Z_TYPE_P(zv) == IS_NULL) { string_write(str, "NULL", sizeof("NULL")-1); |