3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "dumps null:\n"; var_dump( null['test'] ); echo "\nthrows exception:"; var_dump( []['test'] );
Output for git.master, git.master_jit
dumps null: Warning: Trying to access array offset on value of type null in /in/haGa9 on line 6 NULL throws exception: Warning: Undefined array key "test" in /in/haGa9 on line 12 NULL
Output for rfc.property-hooks
dumps null: Warning: Trying to access array offset on null in /in/haGa9 on line 6 NULL throws exception: Warning: Undefined array key "test" in /in/haGa9 on line 12 NULL

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:
35.35 ms | 407 KiB | 5 Q