Looking at the definition of a function, you will find:
function dprint_r($input, $return = FALSE, $name = NULL, $function = 'print_r', $check= TRUE) {
if (user_access('access devel information')) {
}
}
Thus, it will only produce output for users with permission access devel information. If you assigned this permission without any role, only user 1 will see the exit.
source
share