From 43becc02f14bd1d57b60e7ae2d7400e0c854ae45 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 13 Jan 2004 23:11:31 +0000 Subject: [PATCH] Fixed bug #26878 (problem with multiple references to the same variable with different types). --- ext/standard/formatted_print.c | 55 +++++++++++++++--------- ext/standard/tests/strings/bug26878.phpt | 9 ++++ 2 files changed, 43 insertions(+), 21 deletions(-) create mode 100644 ext/standard/tests/strings/bug26878.phpt diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index bb5877d5eb..9c55240732 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -509,7 +509,8 @@ php_formatted_print(int ht, int *len, int use_array, int format_offset TSRMLS_DC currarg = 1; while (inpos +--EXPECT-- +Int: 0 and as string: some string -- 2.50.1