- Output for 8.0.0 - 8.0.3, 8.1.23 - 8.1.27, 8.2.10 - 8.2.17, 8.3.0 - 8.3.4
- object(Foo)#1 (0) { }
- Output for 7.3.0 - 7.3.28, 7.4.0 - 7.4.16
- Parse error: syntax error, unexpected '(' in /in/2bbfa on line 5
Process exited with code 255.
<?php
class Foo {}
var_dump(new ("fo" . "o"));