What is the value of $a and $b after the function call?
<?php function doSomething( &$arg ) { $return = $arg; $arg += 1; return $return; } $a = 3; $b = doSomething( $a ); ?>
(b).a is 4 and b is 3
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.
(b).a is 4 and b is 3
need an explanation for this answer? contact us directly to get an explanation for this answer