3v4l.org

run code in 300+ PHP versions simultaneously
<?php $handle = popen('echo 12', 'r'); $stats = fstat($handle); var_dump($stats['mode']);
Output for git.master, git.master_jit
Warning: popen(echo 12,r): Cannot allocate memory in /in/C7Nbr on line 2 Fatal error: Uncaught TypeError: fstat(): Argument #1 ($stream) must be of type resource, bool given in /in/C7Nbr:3 Stack trace: #0 /in/C7Nbr(3): fstat(false) #1 {main} thrown in /in/C7Nbr on line 3
Process exited with code 255.
Output for rfc.property-hooks
Warning: popen(echo 12,r): Cannot allocate memory in /in/C7Nbr on line 2 Fatal error: Uncaught TypeError: fstat(): Argument #1 ($stream) must be of type resource, false given in /in/C7Nbr:3 Stack trace: #0 /in/C7Nbr(3): fstat(false) #1 {main} thrown in /in/C7Nbr on line 3
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:
47.82 ms | 1497 KiB | 4 Q