What will be the output of the following PHP code ?
<?php $a = 10; $b = 4; $c = fun(10,4); function fun($a,$b) { $b = 3; return $a - $b + $b - $a; } echo $a; echo $b; echo $c; ?>
(c).1040
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(c).1040
need an explanation for this answer? contact us directly to get an explanation for this answer