3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents("php://filter/read=convert.base64-encode/resource=file:///etc/passwd\0");
Output for 5.4.0 - 7.1.0
Warning: file_get_contents() expects parameter 1 to be a valid path, string given in /in/uprG2 on line 2
Output for 5.3.4 - 5.3.29
Output for 5.0.0 - 5.1.1, 5.1.3 - 5.3.3
cm9vdDp4OjA6MDpyb290Oi9yb290Oi9iaW4vYmFzaApiaW46eDoxOjE6YmluOi9iaW46L3Vzci9iaW4vbm9sb2dpbgpkYWVtb246eDoyOjI6ZGFlbW9uOi86L3Vzci9iaW4vbm9sb2dpbgptYWlsOng6ODoxMjptYWlsOi92YXIvc3Bvb2wvbWFpbDovdXNyL2Jpbi9ub2xvZ2luCmZ0cDp4OjE0OjExOmZ0cDovc3J2L2Z0cDovdXNyL2Jpbi9ub2xvZ2luCmh0dHA6eDozMzozMzpodHRwOi9zcnYvaHR0cDovdXNyL2Jpbi9ub2xvZ2luCnV1aWRkOng6Njg6Njg6dXVpZGQ6LzovdXNyL2Jpbi9ub2xvZ2luCmRidXM6eDo4MTo4MTpkYnVzOi86L3Vzci9iaW4vbm9sb2dpbgpub2JvZHk6eDo5OTo5OTpub2JvZHk6LzovdXNyL2Jpbi9ub2xvZ2luCnN5c3RlbWQtam91cm5hbC1nYXRld2F5Ong6MTkxOjE5MTpzeXN0ZW1kLWpvdXJuYWwtZ2F0ZXdheTovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC10aW1lc3luYzp4OjE5MjoxOTI6c3lzdGVtZC10aW1lc3luYzovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1uZXR3b3JrOng6MTkzOjE5MzpzeXN0ZW1kLW5ldHdvcms6LzovdXNyL2Jpbi9ub2xvZ2luCnN5c3RlbWQtYnVzLXByb3h5Ong6MTk0OjE5NDpzeXN0ZW1kLWJ1cy1wcm94eTovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1yZXNvbHZlOng6MTk1OjE5NTpzeXN0ZW1kLXJlc29sdmU6LzovdXNyL2Jpbi9ub2xvZ2luCg==
Output for 5.1.2
cm9vdDp4OjA6MDpyb290Oi9yb290Oi9iaW4vYmFzaApiaW46eDoxOjE6YmluOi9iaW46L3Vzci9iaW4vbm9sb2dpbgpkYWVtb246eDoyOjI6ZGFlbW9uOi86L3Vzci9iaW4vbm9sb2dpbgptYWlsOng6ODoxMjptYWlsOi92YXIvc3Bvb2wvbWFpbDovdXNyL2Jpbi9ub2xvZ2luCmZ0cDp4OjE0OjExOmZ0cDovc3J2L2Z0cDovdXNyL2Jpbi9ub2xvZ2luCmh0dHA6eDozMzozMzpodHRwOi9zcnYvaHR0cDovdXNyL2Jpbi9ub2xvZ2luCnV1aWRkOng6Njg6Njg6dXVpZGQ6LzovdXNyL2Jpbi9ub2xvZ2luCmRidXM6eDo4MTo4MTpkYnVzOi86L3Vzci9iaW4vbm9sb2dpbgpub2JvZHk6eDo5OTo5OTpub2JvZHk6LzovdXNyL2Jpbi9ub2xvZ2luCnN5c3RlbWQtam91cm5hbC1nYXRld2F5Ong6MTkxOjE5MTpzeXN0ZW1kLWpvdXJuYWwtZ2F0ZXdheTovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC10aW1lc3luYzp4OjE5MjoxOTI6c3lzdGVtZC10aW1lc3luYzovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1uZXR3b3JrOng6MTkzOjE5MzpzeXN0ZW1kLW5ldHdvcms6LzovdXNyL2Jpbi9ub2xvZ2luCnN5c3RlbWQtYnVzLXByb3h5Ong6MTk0OjE5NDpzeXN0ZW1kLWJ1cy1wcm94eTovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1yZXNvbHZlOng6MTk1OjE5NTpzeXN0ZW1kLXJlc29sdmU6LzovdXNyL2Jpbi9ub2xvZ2lu
Output for 4.3.3 - 4.4.9
Warning: file_get_contents(php://filter/read=convert.base64-encode/resource=file:///etc/passwd): failed to open stream: Success in /in/uprG2 on line 2
Output for 4.3.2
Warning: file_get_contents(php://filter/read=convert.base64-encode/resource=file:///etc/passwd): failed to open stream: Inappropriate ioctl for device in /in/uprG2 on line 2
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(php://filter/read=convert.base64-encode/resource=file:///etc/passwd) [http://www.php.net/function.file-get-contents]: failed to create stream: Inappropriate ioctl for device in /in/uprG2 on line 2