- Output for 5.3.0 - 5.3.21, 5.4.0 - 5.4.11
- Parse error: syntax error, unexpected '(', expecting '{' in /in/efHs5 on line 2
Process exited with code 255.
<?php
class Test()
{
static $one;
public function Test($name)
{
if (!isset($this->one))
$this->one = 0;
$this->one++;
}
}
new Test("foo");
new Test("bar");