Skip to content

Instantly share code, notes, and snippets.

@rbrigby
Last active September 25, 2019 15:29
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 rbrigby/0eddff527c73f28e87e4626c2cba0098 to your computer and use it in GitHub Desktop.
Save rbrigby/0eddff527c73f28e87e4626c2cba0098 to your computer and use it in GitHub Desktop.
// concatenate vars and strings
$ermsg = 'sampleNumber: ' . $sampleNumber . ', isSample: ' . $isSample . ', isSplit: '
// kill execuation and dump var
die(var_dump($fooBarStix));
// loop over multidimensional array
foreach($fooNumbers as $fooNumber) {
foreach($fooNumber as $k => $v) {
print $k
print $v
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment