Created
May 16, 2019 00:26
-
-
Save flaviors200/bd0174827ad4c513f04964f7ee9f169c to your computer and use it in GitHub Desktop.
String data type
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 | |
$car = "Ferrari"; | |
$model = 'F40'; | |
echo "Auto $car \n"; | |
echo "Modello $model\n"; | |
/* | |
Output | |
Auto Ferrari | |
Modello F40 | |
*/ | |
echo 'Auto $car \n'; | |
echo 'Modello $model \n'; | |
// Output Auto $car \nModello $model \n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment