Home

What will be the output of the following code? If say date is 22/06/2013.
     <?php      echo Today is .date(F d, Y)     ?> 

A. Today is 22 June, 2013

B. Today is 22-06-2013

C. Today is 06-22-2013

D. Today is June 22, 2013

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 $color = red;echo $color . red ;?>
  2. Which one of the following format parameter can be used to identify timezone?
  3. What is the default number of seconds that cached session pages are made available before the new pages…
  4. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  5. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while (--$i > 0) print…
  6. PHP files have a default file extension of..
  7. What will be the output of the following PHP code ? <?php class Constants{ define('MIN_VALUE', '0.0');define('MAX_VALUE',…
  8. What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language);echo…
  9. Which one of the following is the default PHP session name?
  10. 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,…
  11. What will be the output of the following PHP code ? <?php class myObject { }define('myObject::CONSTANT',…
  12. Which of the following PHP statements will output Hello World on the screen?i) echo (“Hello World”);ii)…
  13. Which directive determines how the session information will be stored?
  14. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  15. What is the default time(in seconds) for which session data is considered valid?
  16. To create an object and set the date to JUNE 22, 2013, which one of the following statement should be…
  17. What will be the output of the following PHP code ? <?php $i = 0;while ($i = 10){ print hi;}print…
  18. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;echo $color1…
  19. What will be the output of the following PHP code? <?php $a1 = array_fill(3, 4, blue);$b1 = array_fill(0,…
  20. Which one of the following function is used to start a session?
  21. What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0 && ++$i){ print…
  22. What will be the output of the following PHP code ? <?php $i = 0;while (++$i && --$i){ print $i;}…
  23. What will be the output of the following PHP code? <?php $a1 = array(a=>red, b=>green, c=>blue, d=>yellow);$a2…
  24. Which one of the following is the very first task executed by a session enabled page?
  25. What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota);echo I…
  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 $a1 = array(red, green);$a2 = array(blue,…
  28. What will be the output of the following PHP code ? <?php define(NEW_GOOD_NAME_CONSTANT, I have a…
  29. What will be the output of the following PHP code? <?php $fname = array(Peter, Ben, Joe);$age = array(35,…
  30. What will be the output of the following PHP code? <?php $a = array(a=>red, b=>green, c=>blue);echo…