a) 5 b) 6 c) 7 d) 8 Answer: c Explanation: There are seven validation filters. They ...
View QuestionHow many value/values does Boolean data type hold?
a) 1 b) 2 c) 3 d) 4 Answer: b Explanation: Boolean: Hold only two values, either TRUE or ...
View QuestionWhen you use the $_POST variable to collect data, the data is visible to
When you use the $_POST variable to collect data, the data is visible to a) none
View QuestionWhich type of string can processes special characters inside quotes?
a) single quote string b) double quote string c) Both A and B d) None of the above Answer: ...
View QuestionWhich one of the following should not be used while sending passwords or other sensitive information?
a) GET b) POST c) NEXT d) REQUEST Answer: a Explanation: Because the data is visible to everyone.
View QuestionThe ________ function compares the two strings s1 and s2, ignoring the case of the characters.
a) strtolower() b) toLowerCase() c) strcasecmp() d) lc() Answer: c Explanation: The strcasecmp() function compares the two strings s1 ...
View QuestionWhich one of the following is the right way to define a constant?
a) constant PI = “3.1415?; b) const $PI = “3.1415?; c) constant PI = ’3.1415'; d) const PI = ’3.1415';
View QuestionWhich is true about var_dump() function?
a) var_dump() loops infinitely b) var_dump() cuts off loop afetr getting same element two times c) var_dump() ...
View QuestionWhich one of the following functions is used to determine object type?
a) obj_type() b) type() c) is_a() d) is_obj() Answer: c Explanation: The is_a() function returns true if object belongs ...
View QuestionWhich one of the following property scopes is not supported by PHP?
a) final b) public c) static d) friendly Answer: d Explanation: PHP supports five class property scopes: public, private, ...
View Question