<?php class Test { const MY_CONSTANT = 'FUCKER'; public function __construct() { $MY_CONSTANT = 'why'; var_dump(MY_CONSTANT); } } $t = new Test();
You have javascript disabled. You will not be able to edit any code.