3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { static function __callStatic(string $f, array $args) { print 'C::' . $f . '(...'; var_export($args); print ")\n"; } } ['C', 'foo'](5); var_export(is_callable(['C', 'foo']));
Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.24, 8.3.0 - 8.3.12
C::foo(...array ( 0 => 5, )) true

preferences:
54.17 ms | 406 KiB | 5 Q