3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h=tmpfile(); if($h===false){throw new Exception('tmpfile() failed!');}; $h=stream_get_meta_data($h); $h=$h['uri']; var_dump(fopen($h));
Output for git.master
Fatal error: Uncaught ArgumentCountError: fopen() expects at least 2 arguments, 1 given in /in/Fp3r2:7 Stack trace: #0 /in/Fp3r2(7): fopen('/tmp/phpR7fnL1') #1 {main} thrown in /in/Fp3r2 on line 7
Process exited with code 255.
Output for git.master_jit
Fatal error: Uncaught ArgumentCountError: fopen() expects at least 2 arguments, 1 given in /in/Fp3r2:7 Stack trace: #0 /in/Fp3r2(7): fopen('/tmp/php3uGNYA') #1 {main} thrown in /in/Fp3r2 on line 7
Process exited with code 255.
Output for rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: fopen() expects at least 2 arguments, 1 given in /in/Fp3r2:7 Stack trace: #0 /in/Fp3r2(7): fopen('/tmp/phpqW9YHR') #1 {main} thrown in /in/Fp3r2 on line 7
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.57 ms | 401 KiB | 8 Q