Repeat a string: Difference between revisions
→{{header|Phix}}
Line 1,125:
<lang perl6>"ha" x 5</lang>
(Note that the <code>x</code> operator isn't quite the same as in Perl 5: it now only creates strings. To create lists, use <code>xx</code>.)
=={{header|Phix}}==
<lang Phix>?repeat('*',5)
?join(repeat("ha",5),"")</lang>
{{out}}
<pre>
"*****"
"hahahahaha"
</pre>
=={{header|PHP}}==
|