PHP MCQ Question and Answer

PHP MCQ Question and Answer
61. When uploading a file if the UPLOAD_ERR-OK contains value 0 it means
  • Uplaod is not successful, error occurred
  • The file uploaded with success
  • Uploaded file size is 0
  • File upload progress is 0% completed
Show Answer
62. Which of the following delimiter syntax is PHP's default delimiter syntax
  • <% %>
Show Answer
63. Which of the following statement produce different output
Show Answer
64. Which of the following delimiter is ASP style?
  • <% %>
Show Answer
65. Php supports all four different ways of delimiting. In this context identify the false statement
  • You can use any of the delimiting style
  • You can use different delimiting styles in same page
  • You can use any delimiting style but must use a single style consistently for a page
  • Variables declared in previous blocks are remenbered on later blocks too!
Show Answer
66. Which of following commenting is supported by Php
  • Single line c++ syntax - //
  • Shell syntax - #
  • Both of above
  • None of above
Show Answer
67. To produce the output6 I love the summer time, Which of the ofllowing statement should be used?
  • I love the summer time

    "Wink;?>
  • I love the $ season

    "; ?>
  • I love the summer time

    ; ecdho $ message; ?>
  • All of above
Show Answer
68. Which of following function return 1 when output is successful?
  • echo ( )
  • print ( )
  • both
  • None
Show Answer
69. Which of followng statement is more suitable if you want to output a blend of static text and dynamic information stored within one or several variables?
  • echo ( )
  • print ( )
  • Print f ( )
  • None of above
Show Answer
70. Which of the following type specifier is invalid in print f ( ) functions
  • % a
  • % b
  • % c
  • % d
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test