- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
- Parse error: syntax error, unexpected '<' in /in/ihWR3 on line 3
Process exited with code 255.
<?php
<?php
class Test
{
public $value = 2;
public function __construct()
{
$this->value = 3;
}
public static function outputTimesFive()
{
echo self::$value * 5;
}
}
$a = new Test();
echo Test::outputTimesFive();