3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function b() { } public static function c() { } } class B { public function __invoke() { } } function a (callable $a) { } a('a'); a(array('A', 'b')); a(array(new A, 'c')); a(new B); a(null); a(function(){});
Output for git.master_jit, git.master, rfc.property-hooks
Fatal error: Uncaught TypeError: a(): Argument #1 ($a) must be of type callable, null given, called in /in/janVu on line 27 and defined in /in/janVu:19 Stack trace: #0 /in/janVu(27): a(NULL) #1 {main} thrown in /in/janVu on line 19
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:
42.64 ms | 401 KiB | 8 Q