3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj = new stdClass(1, 2, 3); // OK, but do nothing $ref = new ReflectionClass('stdClass'); $obj = $ref->newInstance(1, 2, 3); // NOT OK: Class stdClass does not have a constructor, so you cannot pass any constructor arguments

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
154.83 ms | 3383 KiB | 8 Q