Skip to content

Instantly share code, notes, and snippets.

@tisuchi
Created September 8, 2017 20:59
Show Gist options
  • Save tisuchi/a62aee5188e5b1830d1e1362ab5b81c7 to your computer and use it in GitHub Desktop.
Save tisuchi/a62aee5188e5b1830d1e1362ab5b81c7 to your computer and use it in GitHub Desktop.
declare clean php variable 1
//its a really bad practice
$a = 'Go to school';
$b = 'Go to Market';
$c = 'Buy Items';
$d = 'Finish home task';
//good way to define variables
$school = 'Go to school';
$market = 'Go to Market';
$purchase = 'Buy Items';
$task = 'Finish home task';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment