String concatenation: Difference between revisions
m
move PHP
Walterpachl (talk | contribs) m (move PL/I and PowerShell) |
Walterpachl (talk | contribs) 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}}==
|