Q:

What will be the output of the following PHP code?

belongs to collection: FUNCTIONS IN PHP MCQ

0

What will be the output of the following PHP code?

<?php
    function sum($num1, $num2)
    {
        $total = $num1 + $num2;
        echo "chr($total)"; 
    }
    $var1 = "sum";
    $var1(5, 44);    
?>

  1. 3
  2. 2
  3. 1
  4. 4

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).1

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

FUNCTIONS IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the output of the following PHP code?... >>
<< What will be the output of the following PHP code?...