Easy question, why does array() have bonus information..
Posted: Fri Jul 09, 2010 12:26 pm
Hello,
So here is my issue.
The output of this is:
Array ( [0] => 1 [1] => 2 [2] => 3 ) 1
Where is that extra '1' coming from? It's kind of driving me mad.
Thanks.
So here is my issue.
Code: Select all
<?php
$output = array(1,2,3);
echo print_r($output);
?>
Array ( [0] => 1 [1] => 2 [2] => 3 ) 1
Where is that extra '1' coming from? It's kind of driving me mad.
Thanks.