function drush_print_r

8.0.x output.inc drush_print_r($array, $handle = NULL, $newline = TRUE)
6.x output.inc drush_print_r($array, $handle = NULL, $newline = TRUE)
7.x output.inc drush_print_r($array, $handle = NULL, $newline = TRUE)
3.x drush.inc drush_print_r($array)
4.x drush.inc drush_print_r($array, $handle = NULL)
5.x output.inc drush_print_r($array, $handle = NULL, $newline = TRUE)
master output.inc drush_print_r($array, $handle = NULL, $newline = TRUE)

Prints an array or string.

Parameters

$array: The array to print.

3 calls to drush_print_r()
drush_pipe_output in includes/drush.inc
drush_sql_conf in commands/sql/sql.drush.inc
Command callback. Displays the Drupal site's database connection string.
scratch.php in commands/core/scratch.php

File

includes/drush.inc, line 842
The drush API implementation and helpers.

Code

function drush_print_r($array) {
  print_r($array);
}