- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/JfAK1 on line 15
Process exited with code 255.
<?php
$a = [
'test' => 1,
'test2' => 2,
];
var_dump(sizeof($a));
class Test {
private $test = 1;
private $test2 = 2
}
$b = new Test();
var_dump(sizeof($b));