3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(stat('php://temp')); var_dump(stat('php://memory'));
Output for 5.0.0 - 7.4.0
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 4.3.2 - 4.4.9
Warning: stat(): Stat failed for php://temp (errno=2 - No such file or directory) in /in/OmDis on line 3 bool(false) Warning: stat(): Stat failed for php://memory (errno=2 - No such file or directory) in /in/OmDis on line 4 bool(false)
Output for 4.3.0 - 4.3.1
Warning: stat() [http://www.php.net/function.stat]: Stat failed for php://temp (errno=2 - No such file or directory) in /in/OmDis on line 3 bool(false) Warning: stat() [http://www.php.net/function.stat]: Stat failed for php://memory (errno=2 - No such file or directory) in /in/OmDis on line 4 bool(false)