Skip to content

Instantly share code, notes, and snippets.

@robdecker
Forked from zakiya/debug.php
Last active January 19, 2021 18:50
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 robdecker/cf53a602b146699da257162f71311c8e to your computer and use it in GitHub Desktop.
Save robdecker/cf53a602b146699da257162f71311c8e to your computer and use it in GitHub Desktop.
[Debugging php in Drupal] #d8
<?php>
function myfunction($app) {
// ~~ Core.
// debug($app);
// dump($app);
// var_dump($app);
// ~~ Devel + kint library + settings
// dpr($app);
// kint($app);
// ksm($app);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment