- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting ',' or ';' in /in/s2DSb on line 6
Process exited with code 255.
<?php
class Test {
public static $a = 'b'
public static function ftest() {
echo 'test';
}
}
$test = new Test();
$test->ftest();
$test->a;