3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arguments = ['foo', ['getShared' => false], new stdClass]; array_shift($arguments); // name array_shift($arguments); // options var_export($arguments);
Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.21, 8.3.0 - 8.3.9
array ( 0 => (object) array( ), )

preferences:
148.79 ms | 403 KiB | 128 Q