PHP Skill Test – 03 Posted on June 20, 2020June 20, 2020 by admin 6 Created on June 20, 2020 By admin PHP Skill Test - 03 1 / 10 What will be the output of the following PHP code ?<?php $cars = array("Volvo", "BMW", "Toyota"); print $cars[2]; ?> Volvo BMW Toyota Error 2 / 10 What will be the output of the following PHP code ?<?php $on$e = 1; $tw$o = 2; $thre$e = 3; $fou$r = 4; echo "$on$e / $tw$o + $thre$e / $fou$r"; ?> 0.75 0.05 1.25 Error 3 / 10 What will be the output of the following PHP code ?<?php $x = 10; $y = 20; if ($x > $y + $y != 3) print "hi" ; else print "how are u"; ?> how are u hi error no output 4 / 10 What will be the output of the following PHP code ?<?php $x = 10; $y = 20; if ($x > $y && 1||1) print "hi" ; else print "how are u"; ?> how are u hi error no output 5 / 10 What will be the output of the following PHP code ?<?php $i = 5; while (--$i > 0) { $i++; print $i; print "hello"; } ?> 4hello4hello4hello4hello4hello…..infinite 5hello5hello5hello5hello5hello…..infinite no output error 6 / 10 PHP Stands for Php Hypertext Processor Php Hypertext Preprocessor Php Hypermarkup Preprocessor Php Hypermarkup Processor 7 / 10 PHP is ___________ scripting language. Server-side Client-side Middle-side Out-side 8 / 10 PHP scripts are executed on _________ ISP Computer Client Computer Server Computer It depends on PHP scripts 9 / 10 PHP Scripts starts with ________ <php> ........... </php> <?php> ........... ?> ?php ............. ?php <p> .......... </p> 10 / 10 Which of the following statements prints in PHP? Out Write Echo Display Your score is The average score is 30% LinkedIn Facebook Twitter 0% Restart quiz