--TEST-- Bug #42107 (sscanf() broken when using %2$s type format parameters) --FILE-- --EXPECTF-- array(2) { [0]=> string(3) "one" [1]=> string(3) "two" } array(2) { [0]=> string(3) "two" [1]=> string(3) "one" } -- string(3) "one" string(3) "two" string(3) "two" string(3) "one" -- array(2) { [0]=> NULL [1]=> NULL } array(1) { [0]=> NULL } Done