- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.24
- Parse error: syntax error, unexpected '}', expecting ';' or '{' in /in/A5vXj on line 4
Process exited with code 255.
<?php
class A {}
class B {public function __construct()}
$a = null;
new A($a = 123);
var_dump($a);
$b = null;
new B($b = 456);
var_dump($b);