3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php include "php://filter/read=string.toupper/resource=/etc/passwd\0";
Output for 5.3.4 - 5.3.5, 5.3.7 - 7.1.0
Warning: include(): Failed opening 'php://filter/read=string.toupper/resource=/etc/passwd' for inclusion (include_path='.:') in /in/0rl9g on line 2
Output for 5.3.0 - 5.3.3, 5.3.6
ROOT:X:0:0:ROOT:/ROOT:/BIN/BASH BIN:X:1:1:BIN:/BIN:/USR/BIN/NOLOGIN DAEMON:X:2:2:DAEMON:/:/USR/BIN/NOLOGIN MAIL:X:8:12:MAIL:/VAR/SPOOL/MAIL:/USR/BIN/NOLOGIN FTP:X:14:11:FTP:/SRV/FTP:/USR/BIN/NOLOGIN HTTP:X:33:33:HTTP:/SRV/HTTP:/USR/BIN/NOLOGIN UUIDD:X:68:68:UUIDD:/:/USR/BIN/NOLOGIN DBUS:X:81:81:DBUS:/:/USR/BIN/NOLOGIN NOBODY:X:99:99:NOBODY:/:/USR/BIN/NOLOGIN SYSTEMD-JOURNAL-GATEWAY:X:191:191:SYSTEMD-JOURNAL-GATEWAY:/:/USR/BIN/NOLOGIN SYSTEMD-TIMESYNC:X:192:192:SYSTEMD-TIMESYNC:/:/USR/BIN/NOLOGIN SYSTEMD-NETWORK:X:193:193:SYSTEMD-NETWORK:/:/USR/BIN/NOLOGIN SYSTEMD-BUS-PROXY:X:194:194:SYSTEMD-BUS-PROXY:/:/USR/BIN/NOLOGIN SYSTEMD-RESOLVE:X:195:195:SYSTEMD-RESOLVE:/:/USR/BIN/NOLOGIN