3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php include('php://filter/convert.base64-encode/resource=/etc/passwd');
Output for 5.4.41 - 5.6.28, 7.0.0 - 7.1.0
cm9vdDp4OjA6MDpyb290Oi9yb290Oi9iaW4vYmFzaApiaW46eDoxOjE6YmluOi9iaW46L3Vzci9iaW4vbm9sb2dpbgpkYWVtb246eDoyOjI6ZGFlbW9uOi86L3Vzci9iaW4vbm9sb2dpbgptYWlsOng6ODoxMjptYWlsOi92YXIvc3Bvb2wvbWFpbDovdXNyL2Jpbi9ub2xvZ2luCmZ0cDp4OjE0OjExOmZ0cDovc3J2L2Z0cDovdXNyL2Jpbi9ub2xvZ2luCmh0dHA6eDozMzozMzpodHRwOi9zcnYvaHR0cDovdXNyL2Jpbi9ub2xvZ2luCnV1aWRkOng6Njg6Njg6dXVpZGQ6LzovdXNyL2Jpbi9ub2xvZ2luCmRidXM6eDo4MTo4MTpkYnVzOi86L3Vzci9iaW4vbm9sb2dpbgpub2JvZHk6eDo5OTo5OTpub2JvZHk6LzovdXNyL2Jpbi9ub2xvZ2luCnN5c3RlbWQtam91cm5hbC1nYXRld2F5Ong6MTkxOjE5MTpzeXN0ZW1kLWpvdXJuYWwtZ2F0ZXdheTovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC10aW1lc3luYzp4OjE5MjoxOTI6c3lzdGVtZC10aW1lc3luYzovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1uZXR3b3JrOng6MTkzOjE5MzpzeXN0ZW1kLW5ldHdvcms6LzovdXNyL2Jpbi9ub2xvZ2luCnN5c3RlbWQtYnVzLXByb3h5Ong6MTk0OjE5NDpzeXN0ZW1kLWJ1cy1wcm94eTovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1yZXNvbHZlOng6MTk1OjE5NTpzeXN0ZW1kLXJlc29sdmU6LzovdXNyL2Jpbi9ub2xvZ2luCg==
Output for hhvm-3.12.0
Warning: File not found: php://filter/convert.base64-encode/resource=/etc/passwd in /in/L8PEe on line 1
Output for hhvm-3.10.0
Warning: File not found: php://filter/convert.base64-encode/resource=/etc/passwd in /in/L8PEe on line 13
Output for 5.3.0 - 5.4.40
cm9vdDp4OjA6MDpyb290Oi9yb290Oi9iaW4vc2gKbm9ib2R5Ong6OTk6OTk6bm9ib2R5Oi86L2Jpbi9mYWxzZQo=