What is the result of the following code?
What is the result of the following code?
define(‘PI’, 3.14);
class T
{
canst Pl = Pl;
}
class Math
{
canst Pl = T::PI;
}
echo Math::PI;
A . Parse error
B . 3.14
C . Pl
D . T::PI
Answer: B
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments