Skip to content

Instantly share code, notes, and snippets.

@aiiddqd
Created May 17, 2020 07:20
Show Gist options
  • Save aiiddqd/6c033d1f1ecaa643189c00f3d628400a to your computer and use it in GitHub Desktop.
Save aiiddqd/6c033d1f1ecaa643189c00f3d628400a to your computer and use it in GitHub Desktop.
data debug
if(!function_exists('dd')){
function dd($data, $admin_check = false){
if( ! isset($_GET['dd']) ){
return;
}
echo '<pre>';
var_dump($data);
exit;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment