run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); class A { function B() { var_dump($this); } static function C() { var_dump($this); } } $a = new A(); $a->B(); $a->C();
Output for git.master, git.master_jit, rfc.property-hooks
object(A)#1 (0) { } Fatal error: Uncaught Error: Using $this when not in object context in /in/Ofu9f:9 Stack trace: #0 /in/Ofu9f(15): A::C() #1 {main} thrown in /in/Ofu9f on line 9
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

42.86 ms | 402 KiB | 8 Q