String concatenation: Difference between revisions

m
move PHP
m (move PL/I and PowerShell)
m (move PHP)
Line 755:
say $s;</lang>
Note also that most concatenation in Perl is done implicitly via interpolation.
 
=={{header|PHP}}==
<lang php><?php
$s = "hello";
echo $s . " literal" . "\n";
$s1 = $s . " literal";
echo $s1 . "\n";
?></lang>
 
=={{header|PicoLisp}}==
Line 779 ⟶ 787:
$s2 = $s + " World."
Write-Host $s2</lang>
 
=={{header|PHP}}==
<lang php><?php
$s = "hello";
echo $s . " literal" . "\n";
$s1 = $s . " literal";
echo $s1 . "\n";
?></lang>
 
=={{header|PureBasic}}==
2,300

edits