[PHP] .

. è 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

Fonti esterne

interpunzione php, php

Related Articles

0 Comment

Rispondi