Home

A PHP script should start with ___ and end with ___:


A.

< php >


B.

< ? php ?>


C.

<?php ?>


D.

<% %>


Related Questions

  1. Say you want to calculate the date 45 days from the present date which one of the following statement…
  2. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = red;echo $color1…
  3. What will be the output of the following PHP code ? <?php $i = 5;while (--$i > 0){ $i++;print $i;print…
  4. What will be the output of the following PHP code ? <?php $color = red;$color = green;echo $color;?>…
  5. What will be the output of the following PHP code ? <?php define('IF', 42);echo IF: , IF;?>
  6. Which one of the following function is used to start a session?
  7. Which one of the following is the default PHP session name?
  8. PHP files have a default file extension of..
  9. What will be the output of the following PHP code ? <?php $i = 0;while (++$i && --$i){ print $i;}…
  10. What will be the output of the following PHP code ? <?php define('GREETING_TEST', 'PHP is a scripting…
  11. How many ways can a session data be stored?
  12. Which of the following must be installed on your computer so as to run PHP script?i) Adobe Dreamweaverii)…
  13. What will be the output of the following PHP code ? <?php class myObject { }define('myObject::CONSTANT',…
  14. The date() function returns ___ representation of the current date and/or time.
  15. 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,…
  16. What will be the output of the following PHP code ? <?php class Constants{ define('MIN_VALUE', '0.0');define('MAX_VALUE',…
  17. Which one of the following function is useful for producing a timestamp based on a given date and time.
  18. Which one of the following is the very first task executed by a session enabled page?
  19. Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii) Adobe Dreamweaveriv) PDT
  20. If the directive session.cookie_lifetime is set to 3600, the cookie will live until..
  21. What will be the output of the following PHP code ? <?php /*echo Hello world;*/ ?>
  22. What will be the output of the following PHP code ? <?php $color1 = 1;$color2 = 1;echo $color1 +…
  23. What will be the output of the following PHP code ? <?php $i = 0;while ((--$i > ++$i) - 1){ print…
  24. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1.$color2;?>…
  25. What will be the output of the following PHP code ? <?php $i = 0;while(++$i || --$i){ print $i;}…
  26. What will be the output of the following PHP code? <?php $a = array(A, Cat, Dog, A, Dog);print_r(array_count_values($a));?>…
  27. What will be the output of the following PHP code ? <?php $color1 = red;$color2 = green;echo $color1…
  28. If the format is F then which one of the following will be returned?
  29. What will be the output of the following PHP code? <?php $a1 = array_fill(3, 4, blue);$b1 = array_fill(0,…
  30. What will be the output of the following PHP code? <?php $cars = array(Volvo, BMW, Toyota, Honda,…

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