PHP String Operators

 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

Output :-

PHP String Operators EXAMPLE /Output


Related Post :-


Comments

Popular posts from this blog

text properties in css

CSS text-emphasis-color Property

How to insert image in html

How to Use CSS Outline Offset Property

css id selector