php-src/ext/standard/tests/strings/bug26878.phpt
2020-02-03 22:52:20 +01:00

10 lines
235 B
PHP

--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