3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$str = "ryat\0".str_repeat('i',1024); //link('/in/01E2M','b'); $str = "/vmlinuz"; //var_dump(readlink($str)); var_dump(tempnam("/tmp", "index.php\0")); //var_dump(basename("../"));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: tempnam(): Argument #2 ($prefix) must not contain any null bytes in /in/fpECn:8 Stack trace: #0 /in/fpECn(8): tempnam('/tmp', 'index.php\x00') #1 {main} thrown in /in/fpECn on line 8
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:
41.49 ms | 401 KiB | 8 Q