![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #20169 (implode() clobbers first argument) ! 3: --FILE-- ! 4: <?php ! 5: @set_time_limit(5); ! 6: $delimiter = "|"; ! 7: ! 8: echo "delimiter: $delimiter\n"; ! 9: implode($delimiter, array("foo", "bar")); ! 10: echo "delimiter: $delimiter\n"; ! 11: ?> ! 12: --EXPECT-- ! 13: delimiter: | ! 14: delimiter: |