]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
authorSVN Migration <svn@php.net>
Tue, 13 Jan 2004 23:11:32 +0000 (23:11 +0000)
committerSVN Migration <svn@php.net>
Tue, 13 Jan 2004 23:11:32 +0000 (23:11 +0000)
ext/standard/tests/strings/bug26878.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/strings/bug26878.phpt b/ext/standard/tests/strings/bug26878.phpt
new file mode 100644 (file)
index 0000000..602f710
--- /dev/null
@@ -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