You appear to be a bot. Output may be restricted
$arr = array( 0, "a" => true ); echo $arr . PHP_EOL; print_r( $arr ); var_dump( $arr ); echo var_export( $arr );
Array Array ( [0] => 0 [a] => 1 ) array(2) { [0]=> int(0) ["a"]=> bool(true) } array ( 0 => 0, 'a' => true, )
It’s all well and good if you’ll get to see the results
BUT what if you forget to remove the debug statements?
OR have to put them back in?
Perhaps there’s some contextual information that you’d like to see.