PHP
Select the ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
Select the correct PHP statement that allows to pass arguments to function by reference.
function ModifyReport ( &$Rptfile ) { .. }
function ModifyReport ( $Rptfile ) { ... }
function ModifyReport ( ByRef $Rptfile ) { ... }
function ModifyReport ( &Rptfile ) { ... }
function ModifyReport ( $&Rptfile ) { ... }
Explanation
Get an explanation when it's available:
Subscribe
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
P
HP
Quiz
Login to learn PHP
or
Read more about
PHP Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
PHP quizzes
What is the result of execution following code? <?php $a = 500; $b = 200; echo $a % 2 * $b; ?>
Which of the following pairs of statements are not contrary?
Latest versions of PHP supports remote access to files using following functions: (select all that apply)
Select the correct PHP statement that allows to pass arguments to function by reference.
Consider following code: $var = 1 + "-1.3e3"; echo $var; What will be the result of the code above?
What is the result of executing following code? <?php function vec_add (&$a, $b) { $a['x'] += $b['x']; $a['y'] += $b['y']; $a['z'] += $b['z']; } $a = array ('x' => 3, 'y' => 2, 'z' => 5); $b = array ('x' => 9, 'y' => 3, 'z' => -7); vec_add ($a, $b); print_r ($a); ?>
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment