Skip to content

Instantly share code, notes, and snippets.

@flaviors200
Created May 16, 2019 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flaviors200/bd0174827ad4c513f04964f7ee9f169c to your computer and use it in GitHub Desktop.
Save flaviors200/bd0174827ad4c513f04964f7ee9f169c to your computer and use it in GitHub Desktop.
String data type
<?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