- Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.22
- Parse error: syntax error, unexpected '=' in /in/AM5k9 on line 6
Process exited with code 255.
<?php
class Test {
const MY_CONSTANT = 'FUCKER';
public function __construct() {
self::MY_CONSTANT = 'why';
var_dump(self::MY_CONSTANT);
}
}
$t = new Test();