Home

What will be the output of the following PHP code? If say date is 22/06/2013.
     <?php      printf( date(t) )     ?> 

A. 30

B. 22

C. JUNE

D. 2013

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

You can do it
  1. Which one of the following is the very first task executed by a session enabled page?
  2. What will be the output of the following PHP code ? <?php $color = red;echo $color . red ;?>
  3. What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language);echo…
  4. What is the default time(in seconds) for which session data is considered valid?
  5. Say you want to calculate the date 45 days from the present date which one of the following statement…
  6. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;echo $color1…
  7. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  8. Which function displays the web pages most recent modification date?
  9. What will be the output of the following PHP code ? <?php $i = 0;while ((--$i > ++$i) - 1){ print…
  10. What will be the output of the following PHP code? <?php $a1 = array(red, green);$a2 = array(blue,…
  11. What is the default number of seconds that cached session pages are made available before the new pages…
  12. What will be the output of the following code? If say date is 22/06/2013. <?php echo Today is .date(F…
  13. What does PHP stand for?i) Personal Home Pageii) Hypertext Preprocessoriii) Pretext Hypertext Processoriv)…
  14. Which of the following must be installed on your computer so as to run PHP script?i) Adobe Dreamweaverii)…
  15. What will be the output of the following PHP code? <?php $a1 = array_fill(3, 4, blue);$b1 = array_fill(0,…
  16. What will be the output of the following PHP code ? <?php define('GREETING_TEST', 'PHP is a scripting…
  17. Which of the following PHP statements will output Hello World on the screen?i) echo (“Hello World”);ii)…
  18. What will be the output of the following PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  19. Which one of the following function is useful for producing a timestamp based on a given date and time.
  20. What will be the output of the following code?<?php $foo = 'Bob'; $bar = &$foo; $bar…
  21. What will be the output of the following PHP code ? <?php class myObject { }define('myObject::CONSTANT',…
  22. PHP files have a default file extension of..
  23. What will be the output of the following PHP code ? <?php define(NEW_GOOD_NAME_CONSTANT, I have a…
  24. What will be the output of the following PHP code ? <?php /*echo Hello world;*/ ?>
  25. Which directive determines how the session information will be stored?
  26. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = 1;$color3 = greyecho…
  27. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  28. Which one of the following function is used to start a session?
  29. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = red;echo $color1…
  30. What will be the output of the following PHP code? <?php echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid');?>…