3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mem=fopen('php://memory','rw'); var_dump(fstat($mem)); var_dump(stat('php://memory'));
Output for git.master, git.master_jit, rfc.property-hooks
array(26) { [0]=> int(12) [1]=> int(0) [2]=> int(33206) [3]=> int(1) [4]=> int(0) [5]=> int(0) [6]=> int(-1) [7]=> int(0) [8]=> int(0) [9]=> int(0) [10]=> int(0) [11]=> int(-1) [12]=> int(-1) ["dev"]=> int(12) ["ino"]=> int(0) ["mode"]=> int(33206) ["nlink"]=> int(1) ["uid"]=> int(0) ["gid"]=> int(0) ["rdev"]=> int(-1) ["size"]=> int(0) ["atime"]=> int(0) ["mtime"]=> int(0) ["ctime"]=> int(0) ["blksize"]=> int(-1) ["blocks"]=> int(-1) } Warning: stat(): stat failed for php://memory in /in/6TpPg on line 4 bool(false)

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:
50.37 ms | 402 KiB | 8 Q