3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(stat('php://temp')); var_dump(stat('php://memory'));

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
Warning: stat(): stat failed for php://temp in /in/OmDis on line 3 bool(false) Warning: stat(): stat failed for php://memory in /in/OmDis on line 4 bool(false)
Output for Typed properties v2
Warning: stat(): stat failed for php://temp in /in/OmDis on line 3 bool(false) Warning: stat(): stat failed for php://memory in /in/OmDis on line 4 bool(false)
Output for Arrow functions
Warning: stat(): stat failed for php://temp in /in/OmDis on line 3 bool(false) Warning: stat(): stat failed for php://memory in /in/OmDis on line 4 bool(false)
Output for Object typehint
Warning: stat(): stat failed for php://temp in /in/OmDis on line 3 bool(false) Warning: stat(): stat failed for php://memory in /in/OmDis on line 4 bool(false)
Output for Array change keys
Warning: stat(): stat failed for php://temp in /in/OmDis on line 3 bool(false) Warning: stat(): stat failed for php://memory in /in/OmDis on line 4 bool(false)
Output for Lexical anon
Warning: stat(): stat failed for php://temp in /in/OmDis on line 3 bool(false) Warning: stat(): stat failed for php://memory in /in/OmDis on line 4 bool(false)

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