General Knowledge : php Question Test

  Home > Php question and answer > Php 1
1 2 3 4 5 6 . . .16

Q1-

Type Hinting was introduced in which version of PHP?





Q2-

Which of the following PHP functions can be used to get the current memory usage?





Q3-

Which one of the following is the right way to define a constant?





Q4-

Which one of the following keyword is used to inherit our subclass into a superclass?





Q5-

Which one of the following is the right way of defining a function in PHP?





Q6-

Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class?





Q7-

Which one of the following property scopes is not supported by PHP?





Q8-

The practice of creating objects based on predefined classes is often referred to as..





Q9-

Which of the following are correct ways of creating an array?





Q10-

PHP’s numerically indexed array begin with position __.





1 2 3 4 5 6 . . .16