3v4l.org

run code in 300+ PHP versions simultaneously
<?php touch('/tmp/x'); $x = new \SplFileInfo('/tmp/x'); echo (!$x) ? 1 : 0; var_dump($x); $s = boolval($x); echo (!$s) ? 1 : 0;
Output for git.master_jit, git.master, rfc.property-hooks
0object(SplFileInfo)#1 (2) { ["pathName":"SplFileInfo":private]=> string(6) "/tmp/x" ["fileName":"SplFileInfo":private]=> string(1) "x" } 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:
41.65 ms | 401 KiB | 8 Q