adplus-dvertising
frame-decoration

Question

Which one of the following does not describe a validating filter?

a.

Are used to allow or disallow specific characters in a string

b.

Are used to validate user input

c.

Strict format rules

d.

Returns the expected type on success or FALSE on failure

Posted under PHP

Answer: (a).Are used to allow or disallow specific characters in a string

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following does not describe a validating filter?

Similar Questions

Discover Related MCQs

Q. Which one of the following filter is used to filter several variables with the same or different filters?

Q. How many types of filtering are present in PHP?

Q. Which of the following is/are an external data?

i) Cookies
ii) Input data from a form
iii) Server Variables
iv) Web services data

Q. Which of the following is/are an exception?

i) OutOfBoundException
ii) OutOfRangeException
iii) OverflowException
iv) UnderflowException

Q. Which of the following is/are not an exception?

i) BadFunctionCallException
ii) BadMethodCallException
iii) LogicException
iv) DomainException

Q. How many predefined exceptions does SPL provide access to?

Q. What does SPL stand for?

Q. You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________

Q. Which one of the following is the right description for the method getMessage() ?

Q. Which of the following statements invoke the exception class?

Q. Which version added the method getPrevious()?

Q. How many methods are available for the exception class?

Q. Which version of PHP was added with Exception handling?

Q. Which function is responsible for sending a custom message to the system log?

Q. Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console?

Q. Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?

Q. Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line?

Q. Which version introduced the function error_get_last()?

Q. Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use?

Q. Which character do the error_reporting directive use to represent the logical operator NOT?