run code in 150+ php & hhvm versions
Bugs & Features
<?php include 'phar:///etc/passwd';
Output for 5.3.0 - 5.6.21, 7.0.0 - 7.1.0RC3
Warning: include(phar:///etc/passwd): failed to open stream: phar error: no directory in "phar:///etc/passwd", must have at least phar:///etc/passwd/ for root directory (always use full path to a new phar) in /in/NRIIQ on line 3 Warning: include(): Failed opening 'phar:///etc/passwd' for inclusion (include_path='.:') in /in/NRIIQ on line 3
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Uncaught exception 'PharException' with message 'Corrupt phar, can't read 4 bytes starting at offset 980314502' in /in/NRIIQ:3 Stack trace: #0 /in/NRIIQ(3): Phar::stat() #1 {main}
Process exited with code 255.