Home

Which of the following must be installed on your computer so as to run PHP script?
i) Adobe Dreamweaver
ii) PHP
iii) Apache
iv) IIS


A.

All of the mentioned.


B.

Only ii)


C.

ii) and iii)


D.

ii), iii) and iv)


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

You can do it
  1. Which of the following PHP statements will output Hello World on the screen?i) echo (“Hello World”);ii)…
  2. Which one of the following is the very first task executed by a session enabled page?
  3. What is the default time(in seconds) for which session data is considered valid?
  4. What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota, Honda,…
  5. What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language,…
  6. Say you want to calculate the date 45 days from the present date which one of the following statement…
  7. What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0 || ++$i){ print…
  8. What will be the output of the following PHP code ? <?php $i = 0;while (++$i && --$i){ print $i;}…
  9. What will be the output of the following PHP code? <?php $a = array(red, green, blue);array_pop($a);print_r($a);?>…
  10. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  11. What will be the output of the following PHP code? <?php $a1 = array(red, green);$a2 = array(blue,…
  12. 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,…
  13. What will be the output of the following PHP code ? <?php $i = 0;while(++$i || --$i){ print $i;}…
  14. To create an object and set the date to JUNE 22, 2013, which one of the following statement should be…
  15. PHP files have a default file extension of..
  16. Which of the following must be installed on your computer so as to run PHP script?i) Adobe Dreamweaverii)…
  17. Which of following variables can be assigned a value to it?i) $3helloii) $_helloiii) $thisiv) $This
  18. Neglecting to set which of the following cookie will result in the cookies domain being set to the host…
  19. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  20. If session.use_cookie is set to 0, this results in use of..
  21. What will be the output of the following PHP code ? <?php $color = red;echo $color . red ;?>
  22. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  23. What will be the output of the following PHP code ? <?php define('GOOD_OCTAL', 0700);define('BAD_OCTAL',…
  24. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;$color3 = greyecho…
  25. Which function displays the web pages most recent modification date?
  26. What will be the output of the following PHP code ? <?php /*echo Hello world;*/ ?>
  27. What will be the output of the following PHP code? <?php $fname = array(Peter, Ben, Joe);$age = array(35,…
  28. What will be the output of the following PHP code ? <?php class Constants{ define('MIN_VALUE', '0.0');define('MAX_VALUE',…
  29. How many ways can a session data be stored?
  30. Which one of the following is the default PHP session name?