Home

Which one of the following is the default PHP session name?

A. PHPSESSID

B. PHPSESID

C. PHPSESSIONID

D. PHPIDSESS

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 PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  2. What will be the output of the following PHP code ? <?php class Constants{ define('MIN_VALUE', '0.0');define('MAX_VALUE',…
  3. What will be the output of the following PHP code ? <?php $color1 = 1;$color2 = 1;echo $color1 +…
  4. Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii) Adobe Dreamweaveriv) PDT
  5. What will be the output of the following PHP code ? <?php define(NEW_GOOD_NAME_CONSTANT, I have a…
  6. If the format is F then which one of the following will be returned?
  7. What is the default time(in seconds) for which session data is considered valid?
  8. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;$color3 = greyecho…
  9. What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language,…
  10. How many ways can a session data be stored?
  11. 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,…
  12. What will be the output of the following PHP code ? <?php $i = 0;while ((--$i > ++$i) - 1){ print…
  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 $a1 = array(red, green);$a2 = array(blue,…
  15. What will be the output of the following PHP code ? <?php $i = 0;while(++$i || --$i){ print $i;}…
  16. Which function displays the web pages most recent modification date?
  17. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1.$color2;?>…
  18. A PHP script should start with ___ and end with ___:
  19. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  20. What will be the output of the following PHP code ? <?php /*echo Hello world;*/ ?>
  21. Which one of the following is the very first task executed by a session enabled page?
  22. Which one of the following is the default PHP session name?
  23. What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0){ $i++;print $i;print…
  24. The date() function returns ___ representation of the current date and/or time.
  25. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while (--$i > 0) print…
  26. What will be the output of the following PHP code ? <?php define('GOOD_OCTAL', 0700);define('BAD_OCTAL',…
  27. What will be the output of the following PHP code? <?php $a1 = array(a=>red, b=>green, c=>blue, d=>yellow);$a2…
  28. Which of the following PHP statements will output Hello World on the screen?i) echo (“Hello World”);ii)…
  29. Which of following variables can be assigned a value to it?i) $3helloii) $_helloiii) $thisiv) $This
  30. What will be the output of the following PHP code ? <?php $i = ;while ($i = 10){ print hi;}print…