diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-02-16 17:09:37 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-02-16 17:09:37 +0000 |
commit | 4a954193e4b4c2ade3d0a618cc3f76cf1b965563 (patch) | |
tree | 6800d04109113a69a12e02e671d203fd9070a65c | |
parent | dc9f52f0396cb853c4e739590d25f62c50302cd9 (diff) | |
download | php-git-4a954193e4b4c2ade3d0a618cc3f76cf1b965563.tar.gz |
Fixed bug #27278 (*printf() functions treat arguments as if passed by
reference).
-rw-r--r-- | ext/standard/formatted_print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index ee6cf3162c..e12d0eebc9 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -626,6 +626,7 @@ php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC *tmp = **(args[argnum]); zval_copy_ctor(tmp); } else { + SEPARATE_ZVAL(args[argnum]); tmp = *(args[argnum]); } |