1.

Which version of PHP introduced the static keyword?(a) PHP 4(b) PHP 5(c) PHP 5.2(d) PHP 5.3This question was addressed to me in an interview.I need to ask this question from Object Advanced Features topic in section Objects and Databases in PHP of PHP

Answer» CORRECT option is (b) PHP 5

The BEST I can EXPLAIN: The static keyword was introduced with PHP 5. It cannot be used in PHP 4 scripts.


Discussion

No Comment Found

Related InterviewSolutions