“Concatenação de string no PHP” Respostas de código

Concatenação de string no PHP

phpCopy<?php
$mystring1 = "This is the first string. ";
$mystring2 = "This is the second string";
$finalString = sprintf("%s %s", $mystring1, $mystring2);
echo($finalString);
?>
CodeGuruDev

mesclar cordas no PHP

$merge = "Hello" . " World!";
Relieved Raccoon

PHP Concatenar duas variáveis

$string = "the color is ";
$string .= "red";

echo $string; // gives: the color is red
John wick

Respostas semelhantes a “Concatenação de string no PHP”

Perguntas semelhantes a “Concatenação de string no PHP”

Mais respostas relacionadas para “Concatenação de string no PHP” em PHP

Procure respostas de código populares por idioma

Procurar outros idiomas de código