3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler (function($errno, $errstr, $errfile, $errline){ if(preg_match('~.*require_once\((.*?)\)\: failed~', $errstr, $matches)){ $file = $matches[1]; if(is_readable($file)){ echo 'caught require... error, file ' .$file . ' is readable o.O' ; }else{ echo 'caught require... error, file ' .$file . ' is NOT readable' ; //and here you can do some more test, like 'is xyz mounted' etc. } } }); require_once('adf');
Output for git.master_jit, git.master, rfc.property-hooks
Fatal error: Uncaught Error: Failed opening required 'adf' (include_path='.:') in /in/EDlat:17 Stack trace: #0 {main} thrown in /in/EDlat on line 17
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:
28.42 ms | 401 KiB | 8 Q