3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(file_get_contents('Phar://in/CaB13'));
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: file_get_contents(Phar://in/CaB13): failed to open stream: phar error: no directory in "Phar://in/CaB13", must have at least phar://in/CaB13/ for root directory (always use full path to a new phar) in /in/3fWI1 on line 2 bool(false)
Output for hhvm-3.10.0 - 3.12.0
bool(false)
Output for 4.3.2 - 5.2.17
Notice: file_get_contents(): Unable to find the wrapper "Phar" - did you forget to enable it when you configured PHP? in /in/3fWI1 on line 2 Warning: file_get_contents(Phar://in/CaB13): failed to open stream: No such file or directory in /in/3fWI1 on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Notice: file_get_contents() [http://www.php.net/function.file-get-contents]: Unable to find the wrapper "Phar" - did you forget to enable it when you configured PHP? in /in/3fWI1 on line 2 Warning: file_get_contents(Phar://in/CaB13) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/3fWI1 on line 2 bool(false)