In my Drupal 7 custom moudle, i would like to output result of form as an formatted array. Simmilar like you can print_r or printf arrays.
$form['results'] = array(
'#type' => 'item',
'#markup' => $form_state['temporary']
)
so $form_state['temporary'] is array, but i do not want "array" text to show up but formatted array representation, whatewer is in it.
Thanks!