Home

PHP files have a default file extension of..


A.

.html


B.

.xml


C.

.php


D.

.ph


E.

.asp


F.

.jsp


0) print $i;} ?> ">What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  • What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  • What will be the output of the following PHP code? <?php $a = array(a=>red, b=>green, c=>blue);echo…
  • What will be the output of the following PHP code ? <?php class myObject { }define('myObject::CONSTANT',…
  • What will be the output of the following PHP code ? <?php define(__LINE__, PHP is a scripting language);echo…
  • Which one of the following is the very first task executed by a session enabled page?
  • What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0 && ++$i){ print…
  • If the format is F then which one of the following will be returned?
  • What does PHP stand for?i) Personal Home Pageii) Hypertext Preprocessoriii) Pretext Hypertext Processoriv)…
  • What will be the output of the following PHP code? <?php $age = array(Peter=>35, Ben=>37, Joe=>43);print_r(array_change_key_case($age,…
  • Which directive determines how the session information will be stored?
  • A PHP script should start with ___ and end with ___:
  • What will be the output of the following PHP code ? <?php define(NEW_GOOD_NAME_CONSTANT, I have a…
  • What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  • What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota, Honda,…
  • What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;$color3 = greyecho…
  • What will be the output of the following PHP code? <?php $a1 = array_fill(3, 4, blue);$b1 = array_fill(0,…
  • What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language,…
  • How many ways can a session data be stored?
  • What will be the output of the following PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  • -->

    Please do not use chat terms. Example: avoid using "grt" instead of "great".