I have a very simple php code (below) that produces - in my opinion - a strange outcome,
marked in the comments of the code.
My questions are:
1. Is this a bug?
2. If not, can you point out a place in the manual where this is explained?
I would appreciate any help!
<?php
pri(01); // prints 1
pri(02); // prints 2
pri(03); // prints 3
pri(04); // prints 4
pri(05); // prints 5
pri(06); // prints 6
pri(07); // prints 7
pri(08); // prints 0 STRANGE!!
pri(09); // prints 0 STRANGE!!
pri(10); // prints 10
?>
<?php
function pri ()
{
list ($v) = func_get_args();
echo "$v\n";
}
?>