Skip to content

Instantly share code, notes, and snippets.

@frankyston
Last active December 18, 2015 21:09
Show Gist options
  • Save frankyston/5845102 to your computer and use it in GitHub Desktop.
Save frankyston/5845102 to your computer and use it in GitHub Desktop.
Exemplos de impressões de textos e variáveis no PHP com echo
<?php
# Primeiro exemplo de echo
echo "Olá";
# Segundo exemplo de echo
echo 'Olá';
# Terceiro exemplo de echo
$var = "olá";
echo $var;
# Quarto exemplo de echo
echo "$var";
# Quinto exemplo de echo
echo '$var';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment