S Smith New member Mar 21, 2010 #1 <?php function howmany() { $c = func_get_args(); foreach($c as $v); { var_dump ($c); echo $v * 10; } } howmany(1,2,10,6,4); ?> Why does this only return 40? And not the other arguments multiplied by 10?
<?php function howmany() { $c = func_get_args(); foreach($c as $v); { var_dump ($c); echo $v * 10; } } howmany(1,2,10,6,4); ?> Why does this only return 40? And not the other arguments multiplied by 10?