Home

Which one of the following function is useful for producing a timestamp based on a given date and time.

A.

time()

B.

mktime()

C.

mrtime()

D.

mtime()

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. To create an object and set the date to JUNE 22, 2013, which one of the following statement should be…
  3. What will be the output of the following PHP code ? <?php define(__LINE__, PHP is a scripting language);echo…
  4. What will be the output of the following PHP code ? <?php $i = 0;while (++$i && --$i){ print $i;}…
  5. What will be the output of the following PHP code ? <?php define(GREETING, PHP is a scripting language,…
  6. Which one of the following function is useful for producing a timestamp based on a given date and time.
  7. What will be the output of the following PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  8. What will be the output of the following PHP code ? <?php $color = red;echo $color . red ;?>
  9. What will be the output of the following PHP code ? <?php class Constants{ define('MIN_VALUE', '0.0');define('MAX_VALUE',…
  10. Which one of the following is the very first task executed by a session enabled page?
  11. If session.use_cookie is set to 0, this results in use of..
  12. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1.$color2;?>…
  13. What will be the output of the following code? If say date is 22/06/2013. <?php echo Today is .date(F…
  14. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  15. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  16. What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0){ $i++;print $i;print…
  17. PHP files have a default file extension of..
  18. What is the default number of seconds that cached session pages are made available before the new pages…
  19. What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while (--$i > 0) print…
  20. What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0 || ++$i){ print…
  21. What will be the output of the following PHP code? <?php $a1 = array(red, green);$a2 = array(blue,…
  22. What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota, Honda,…
  23. Which one of the following is the default PHP session name?
  24. What will be the output of the following PHP code? <?php $fname = array(Peter, Ben, Joe);$age = array(35,…
  25. Say you want to calculate the date 45 days from the present date which one of the following statement…
  26. How many ways can a session data be stored?
  27. What will be the output of the following PHP code ? <?php define(VAR_NAME,test);${VAR_NAME} = value;echo…
  28. If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
  29. What will be the output of the following PHP code ? <?php $i = 0;while ((--$i > ++$i) - 1){ print…
  30. What will be the output of the following PHP code? <?php $a1 = array_fill(3, 4, blue);$b1 = array_fill(0,…