Examveda
Examveda

Which version of PHP introduced the static keyword?

A. PHP 4

B. PHP 5

C. PHP 5.2

D. PHP 5.3

Answer: Option B

Solution(By Examveda Team)

The static keyword was introduced with PHP 5. It cannot be used in PHP 4 scripts.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept