a) to remove whitespaces b) to remove lowercase alphabet c) to remove uppercase alphabet d) to remove underscore Answer: a ...
View QuestionWhich one of the following keyword is used to inherit our subclass into a superclass?
a) extends b) implements c) inherit d) include Answer: a Explanation: When we extend a class then the subclass ...
View QuestionWhich version of PHP introduced the instanceof keyword?
a) PHP 4 b) PHP 5 c) PHP 5.3 d) PHP 6 Answer: b Explanation: Using instanceof keyword we ...
View QuestionIf $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?
If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?
View QuestionClass is a programmer-defined data type, which includes _____ methods and ______ variable?
a) local, global b) global, global c) global, local d) local, local Answer: d Explanation: Class is a programmer-defined ...
View QuestionWhat does SPL stand for?
a) Standard PHP Library b) Source PHP Library c) Standard PHP List d) Source PHP List Answer: a Explanation: ...
View QuestionPHP recognizes constructors by the name.
a) classname() b) _construct() c) function_construct() d) function__construct() Answer: d Explanation: A double underscore followed by the construct keyword. ...
View QuestionPOSIX stands for
a) Portable Operating System Interface for Unix b) Portable Operating System Interface for Linux c) Portative Operating System Interface ...
View QuestionWhich one of the following functions is used to determine whether a class exists?
a) exist() b) __exist() c) class_exist() d) exist_class() Answer: c Explanation: The class_exist() function returns true or false according ...
View QuestionWhich character do the error_reporting directive use to represent the logical operator NOT?
a) / b) ! c) ~ d) ^ Answer: c Explanation: The twidle (~) character is used to represent ...
View Question