3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test {}; $a = new Test(); $b = new Test(); $a->a = 1; var_dump($a); var_dump($b);
Output for rfc.property-hooks, git.master, git.master_jit
Deprecated: Creation of dynamic property Test::$a is deprecated in /in/W8OF6 on line 8 object(Test)#1 (1) { ["a"]=> int(1) } object(Test)#2 (0) { }

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.35 ms | 1257 KiB | 4 Q