<?php define('constant', 'value'); class MyClass { public function __construct() { echo constant; } } // Somewhere in the test: $object = new MyClass();
You have javascript disabled. You will not be able to edit any code.