3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = new SplFileInfo("/dev/null"); $h = $f->openFile(); while($h->valid()){ $h->current(); // comment out this line to get an endless loop $h->next(); } die("done");
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught RuntimeException: SplFileInfo::openFile(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/tmp:/in:/etc) in /in/W0rL2:4 Stack trace: #0 /in/W0rL2(4): SplFileInfo->openFile() #1 {main} thrown in /in/W0rL2 on line 4
Process exited with code 255.

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