3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __call( $name, array $arguments ) { echo 'Method: ' . $name . ' with arguments: ' . implode( ', ', $arguments ) . ' was called!'; } } $A = new A(); $A->setMainBranch();

preferences:
42.02 ms | 402 KiB | 5 Q