Created
August 2, 2016 13:37
-
-
Save alefcastelo/5a992f8b52f2b35d2915a1e0f195c1a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$string_1 = "texto"; | |
$string_2 = " qualquer"; | |
function funcao(){ return 'texto' . " qualquer"; } | |
print $string_1 . $string_2; // texto qualquer | |
print "texto" . $string_2; // texto qualquer | |
print "texto" . " qualquer"; // texto qualquer | |
print "retorno: " . funcao(); // retorno: texto qualquer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment