- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'var' (T_VAR), expecting variable (T_VARIABLE) in /in/ED82M on line 5
Process exited with code 255.
<?php
class XX
{
static var $v = 0;
static public function __get($name)
{
$v++;
return $v;
}
}
print(XX::ASDF);