PHP Skill Test – 01 Posted on June 20, 2020June 20, 2020 by admin 5 Created on June 20, 2020 By admin PHP Skill Test - 01 1 / 10 PHP files have a default file extension of_______ .html .php .xml .ph 2 / 10 A PHP script should start with ______ and end with _______ < php > < ? php ?> <? ?> <?php ?> 3 / 10 Which of the following is/are a PHP code editor? Notepad Notepad++ Adobe Dreamweaver All of the mentioned. 4 / 10 Which version of PHP introduced Try/catch Exception? PHP 4 PHP 5 PHP 5.3 PHP 6 5 / 10 What will be the output of the following php code?<?php $num = 1; $num1 = 2; print $num . "+". $num1; ?> 3 1+2 1.+.2 Error 6 / 10 What will be the output of the following php code?<?php $num = "1"; $num1 = "2"; print $num+$num1; ?> 3 1+2 Error 12 7 / 10 Which of following variables can be assigned a value to it?i) $3helloii) $_helloiii) $thisiv) $This Only ii) ii) and iv) Only ii) All of the mentioned 8 / 10 What will be the output of the following PHP code?<?php $color = "maroon"; $var = $color[2]; echo "$var"; ?> a Error $var r 9 / 10 What will be the output of the following PHP code?<?php $score = 1234; $scoreboard = (array) $score; echo $scoreboard[0]; ?> 1 Error 1234 2 10 / 10 What will be the output of the following PHP code?<?php $total = "25 students"; $more = 10; $total = $total + $more; echo "$total"; ?> Error 35 students 35 25 students Your score is The average score is 30% LinkedIn Facebook Twitter 0% Restart quiz