Zend 200-500 Question Answer
What is the result of the following code?
define('PI', 3.14);
class T
{
const PI = PI;
} class Math
{ const PI =
T::PI;
} echo Math::PI;
Zend 200-500 Question Answer
What is the result of the following code?
define('PI', 3.14);
class T
{
const PI = PI;
} class Math
{ const PI =
T::PI;
} echo Math::PI;