3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = function(){}; $r = fopen('/tmp/1', 'w'); var_dump($a); var_dump((object) 0); var_dump($r); var_dump(NULL); var_dump(false); var_dump(0); var_dump(''); var_dump(0.0); var_dump([]);
Output for git.master_jit, git.master, rfc.property-hooks
object(Closure)#1 (0) { } object(stdClass)#2 (1) { ["scalar"]=> int(0) } resource(5) of type (stream) NULL bool(false) int(0) string(0) "" float(0) array(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:
31.87 ms | 401 KiB | 8 Q