Discussion Forum : Php Operators And Expressions
Question - What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT;
Options:
A .  myObject::CONSTANT
B .  error
C .  no output
D .  test
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *