Skip to content

Instantly share code, notes, and snippets.

@IftekherSunny
Created September 25, 2018 11:05
Show Gist options
  • Save IftekherSunny/9e80a969fc86ae6127455bd4ee8735fc to your computer and use it in GitHub Desktop.
Save IftekherSunny/9e80a969fc86ae6127455bd4ee8735fc to your computer and use it in GitHub Desktop.
<?php
function smart_dump($arg) {
if(env("local")) {
dump($arg);
}
}
smart_dump(request()->all());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment