summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug26878.phpt
blob: 602f710c8370e1cadcfbd9f5f69656ceaf200868 (plain)
1
2
3
4
5
6
7
8
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