3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(file_get_contents('Phar://CaB13'));
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: file_get_contents(Phar://CaB13): failed to open stream: phar error: no directory in "Phar://CaB13", must have at least phar://CaB13/ for root directory (always use full path to a new phar) in /in/XhvWH on line 2 bool(false)
Output for hhvm-3.10.0 - 3.13.2
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/XhvWH on line 2 Warning: file_get_contents(Phar://CaB13): failed to open stream: No such file or directory in /in/XhvWH 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/XhvWH on line 2 Warning: file_get_contents(Phar://CaB13) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/XhvWH on line 2 bool(false)