3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function __call($method, $args) {} } var_dump(is_callable([new A, 'method']), method_exists([new A, 'method']));;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: method_exists() expects exactly 2 arguments, 1 given in /in/28hSo:1 Stack trace: #0 /in/28hSo(1): method_exists(Array) #1 {main} thrown in /in/28hSo on line 1
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.37 ms | 1644 KiB | 4 Q