@ 2015-04-13T09:28:03Z <?php
var_dump(gzfile("/etc/passwd\x00"));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught ValueError: gzfile(): Argument #1 ($filename) must not contain any null bytes in /in/E9IRJ:3
Stack trace:
#0 /in/E9IRJ(3): gzfile('/etc/passwd\x00')
#1 {main}
thrown in /in/E9IRJ on line 3
Process exited with code 255 . Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 Warning: gzfile() expects parameter 1 to be a valid path, string given in /in/E9IRJ on line 3
NULL
Output for 4.3.1 - 4.3.11 , 4.4.0 - 4.4.9 , 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 array(2) {
[0]=>
string(30) "root:x:0:0:root:/root:/bin/sh
"
[1]=>
string(35) "nobody:x:99:99:nobody:/:/bin/false
"
}
Output for 4.3.0 array(14) {
[0]=>
string(32) "root:x:0:0:root:/root:/bin/bash
"
[1]=>
string(36) "bin:x:1:1:bin:/bin:/usr/bin/nologin
"
[2]=>
string(39) "daemon:x:2:2:daemon:/:/usr/bin/nologin
"
[3]=>
string(50) "mail:x:8:12:mail:/var/spool/mail:/usr/bin/nologin
"
[4]=>
string(42) "ftp:x:14:11:ftp:/srv/ftp:/usr/bin/nologin
"
[5]=>
string(45) "http:x:33:33:http:/srv/http:/usr/bin/nologin
"
[6]=>
string(39) "uuidd:x:68:68:uuidd:/:/usr/bin/nologin
"
[7]=>
string(37) "dbus:x:81:81:dbus:/:/usr/bin/nologin
"
[8]=>
string(41) "nobody:x:99:99:nobody:/:/usr/bin/nologin
"
[9]=>
string(77) "systemd-journal-gateway:x:191:191:systemd-journal-gateway:/:/usr/bin/nologin
"
[10]=>
string(63) "systemd-timesync:x:192:192:systemd-timesync:/:/usr/bin/nologin
"
[11]=>
string(61) "systemd-network:x:193:193:systemd-network:/:/usr/bin/nologin
"
[12]=>
string(65) "systemd-bus-proxy:x:194:194:systemd-bus-proxy:/:/usr/bin/nologin
"
[13]=>
string(61) "systemd-resolve:x:195:195:systemd-resolve:/:/usr/bin/nologin
"
}
preferences:dark mode live preview
233.25 ms | 403 KiB | 459 Q