.
è un operatore di concatenazione di stringhe.
Se vengono concatenati dei numeri, questi vengono trattati come stringhe (ad es., 3 . 4 dá come risultato 34)
Sintassi
[stringa1] . [stringa2]
Esempi
$stringa= "world"; echo "Hello, ". $stringa; // Hello, world!
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment