Is that return usually only used for testing purposes?
Notice that this only prints the array when i use print_r, whats this return thing with array_push?
<?php
$pizzaToppings = array('onion', 'tomato', 'cheese', 'anchovies', 'ham', 'pepperoni');
print_r($pizzaToppings);
print "<br>";
array_push($pizzaToppings, 'bacon and cheese crust');
print_r($pizzaToppings);
print "<br>";
array_push($pizzaToppings, 'bbq sauce');
print_r($pizzaToppings);
?>
Oh and how come with that print_r function it doesnt print the index number of the last element?
Thanks