<?php
$string = "test";
add_text($string);
echo $string;
function add_text(&$text)
{
$string .= "worries";
}
?>
nella 7° riga il .= che stanno a signifire?
<?php
$string = "test";
add_text($string);
echo $string;
function add_text(&$text)
{
$string .= "worries";
}
?>
nella 7° riga il .= che stanno a signifire?
Servono a concatenare le stringhe.
In pratica equivale a :
$string = $string."worries".![]()
Grazie nicola![]()
![]()
![]()