3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ public $ab = 1000; } $a = new A(); $b = $a; $b->a = 500; echo $a->a;
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Creation of dynamic property A::$a is deprecated in /in/JpmhZ on line 9 500

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:
55.78 ms | 401 KiB | 8 Q