3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { const const = 1; const static = 2; public static function new() {} public function function() {} public function class() {} public function for() {} public function while() {} public function abstract() {} public function public() {} protected function protected() {} private function private() {} } function call_c_function($c) { return $c->function(); } $c = C::new(); call_c_function($c); $c->class(); function something() {}
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to a member function function() on null in /in/fZrZL:19 Stack trace: #0 /in/fZrZL(23): call_c_function(NULL) #1 {main} thrown in /in/fZrZL 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:
53.08 ms | 401 KiB | 8 Q