PHP String Operators
PHP String Operators
PHP String Operators:
- Concatenation (.)
- Concatenation assignment (.=)
PHP String Operators:
Example :-
<?php// Concatenation operator (.)$string1 = "Hello";$string2 = "World";
$result = $string1 . " " . $string2;
echo $result;?>PHP String Operators
<?php
// Concatenation operator (.)
$string1 = "Hello";
$string2 = "World";
$result = $string1 . " " . $string2;
echo $result;
?>
Output :-
Post a Comment