diff options
Diffstat (limited to 'ext/standard/tests/strings/bug26878.phpt')
-rw-r--r-- | ext/standard/tests/strings/bug26878.phpt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/bug26878.phpt b/ext/standard/tests/strings/bug26878.phpt new file mode 100644 index 0000000000..602f710c83 --- /dev/null +++ b/ext/standard/tests/strings/bug26878.phpt @@ -0,0 +1,9 @@ +--TEST-- +Bug #26878 (problem with multiple references to the same variable with different types) +--FILE-- +<?php + printf('Int: %1$d and as string: %1$s', 'some string'); + echo "\n"; +?> +--EXPECT-- +Int: 0 and as string: some string |