- Output for 7.1.0 - 7.1.13, 7.2.0 - 7.2.1
- Parse error: syntax error, unexpected '__construct' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /in/pS1r2 on line 4
Process exited with code 255.
<?php
class A {
__construct(\stdClass $a) {
}
}
$x = new A(null);