Skip to content

Instantly share code, notes, and snippets.

@shrop
Created April 16, 2012 12:35
Show Gist options
  • Select an option

  • Save shrop/2398477 to your computer and use it in GitHub Desktop.

Select an option

Save shrop/2398477 to your computer and use it in GitHub Desktop.
Send array to watchdog table in Drupal
watchdog('debug', '<pre>'. print_r($array, TRUE) .'</pre>');
@dresh
Copy link

dresh commented Sep 24, 2015

can we use var_export?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment