Home

How many ways can a session data be stored?

A. 3

B. 4

C. 5

D. 6

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

You can do it
  1. What will be the output of the following code?<?php $foo = 'Bob'; $bar = &$foo; $bar…
  2. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;$color3 = greyecho…
  3. Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii) Adobe Dreamweaveriv) PDT
  4. What will be the output of the following PHP code ? <?php $color = red;$color = green;echo $color;?>…
  5. What will be the output of the following PHP code? <?php $a1 = array(a=>red, b=>green, c=>blue, d=>yellow);$a2…
  6. What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota, Honda,…
  7. What will be the output of the following PHP code ? <?php /*echo Hello world;*/ ?>
  8. If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
  9. What will be the output of the following PHP code? <?php $a = array(A, Cat, Dog, A, Dog);print_r(array_count_values($a));?>…
  10. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while (--$i > 0) print…
  11. If session.use_cookie is set to 0, this results in use of..
  12. Which of the following PHP statements will output Hello World on the screen?i) echo (“Hello World”);ii)…
  13. What will be the output of the following PHP code ? <?php define('GREETING_TEST', 'PHP is a scripting…
  14. What will be the output of the following PHP code ? <?php define(VAR_NAME,test);${VAR_NAME} = value;echo…
  15. What will be the output of the following PHP code? <?php $a = array(a=>red, b=>green, c=>blue);echo…
  16. What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota);echo I…
  17. A PHP script should start with ___ and end with ___:
  18. What will be the output of the following PHP code ? <?php class myObject { }define('myObject::CONSTANT',…
  19. What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language,…
  20. What will be the output of the following code? If say date is 22/06/2013. <?php echo Today is .date(F…
  21. Which of following variables can be assigned a value to it?i) $3helloii) $_helloiii) $thisiv) $This
  22. What will be the output of the following PHP code ? <?php define(__LINE__, PHP is a scripting language);echo…
  23. If the format is F then which one of the following will be returned?
  24. What will be the output of the following PHP code? <?php $a = array(red, green, blue);array_pop($a);print_r($a);?>…
  25. Which one of the following function is useful for producing a timestamp based on a given date and time.
  26. What will be the output of the following PHP code ? <?php $i = ;while ($i = 10){ print hi;}print…
  27. What will be the output of the following PHP code ? <?php $i = 0;while ($i = 10){ print hi;}print…
  28. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1.$color2;?>…
  29. What will be the output of the following PHP code? If say date is 22/06/2013. <?php printf( date(t)…
  30. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…