I personally use var_dump, but lots of people like print_r.
What does everyone use? Pros and Cons?
Does someone have a special home brew function of their own?
...
Trying to detect when a user clicks "Cancel" but the $_POST on using var_export($_POST) outputs:-
array (
'descr' => '',
'formSubmitted' => '1',
'backButton_x' => '36',
'backButton_y' => '15',
)
Notice: Undefined index: backButton in /home/mholt/development/BusinessPortico/class/requestHandler.class.php on line 81
Here is the...
var_export function causes an exception while argument has circular references. Are there any alternatives (except serialize) which handle it correctly?
...