Home

Which of following variables can be assigned a value to it?
i) $3hello
ii) $_hello
iii) $this
iv) $This


A.

All of the mentioned


B.

Only ii)


C.

ii), iii) and iv)


D.

ii) and iv)


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 = 1;$color3 = greyecho…
  • What will be the output of the following PHP code? <?php $a = array(A, Cat, Dog, A, Dog);print_r(array_count_values($a));?>…
  • 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 $i = 5;while (--$i > 0){ $i++;print $i;print…
  • What will be the output of the following PHP code ? <?php $i = 0;while (++$i && --$i){ print $i;}…
  • Neglecting to set which of the following cookie will result in the cookies domain being set to the host…
  • What will be the output of the following PHP code ? <?php /*echo Hello world;*/ ?>
  • What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0 || ++$i){ print…
  • If session.use_cookie is set to 0, this results in use of..
  • Which one of the following format parameter can be used to identify timezone?
  • To create an object and set the date to JUNE 22, 2013, which one of the following statement should be…
  • What will be the output of the following PHP code? If say date is 22/06/2013. <?php printf( date(t)…
  • What will be the output of the following PHP code ? <?php define(__LINE__, PHP is a scripting language);echo…
  • What will be the output of the following code?<?php $foo = 'Bob'; $bar = &$foo; $bar…
  • -->

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