I’m working on some code for a custom Drupal 7 module the problem is I’m dealing with many arrays and strings. I have tried to use print()
, and print_r()
to output values so I can see what I’m working with, but nothing is printed to the screen.
Is Drupal 7 preventing this from happening? How do other Drupal 7 module developers output values?
For example, in JavaScript I can use console.log()
; in plain PHP, I would normally use print()
, print_r()
, and echo
.