3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include('php://filter/convert.base64-encode/resource=/etc/passwd');
Output for 7.0.20, 7.1.5 - 7.2.0
cm9vdDp4OjA6MDpyb290Oi9yb290Oi9iaW4vYmFzaApiaW46eDoxOjE6YmluOi9iaW46L3Vzci9iaW4vbm9sb2dpbgpkYWVtb246eDoyOjI6ZGFlbW9uOi86L3Vzci9iaW4vbm9sb2dpbgptYWlsOng6ODoxMjptYWlsOi92YXIvc3Bvb2wvbWFpbDovdXNyL2Jpbi9ub2xvZ2luCmZ0cDp4OjE0OjExOmZ0cDovc3J2L2Z0cDovdXNyL2Jpbi9ub2xvZ2luCmh0dHA6eDozMzozMzpodHRwOi9zcnYvaHR0cDovdXNyL2Jpbi9ub2xvZ2luCm5vYm9keTp4Ojk5Ojk5Om5vYm9keTovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1qb3VybmFsLWdhdGV3YXk6eDoxOTE6MTkxOnN5c3RlbWQtam91cm5hbC1nYXRld2F5Oi86L3Vzci9iaW4vbm9sb2dpbgpzeXN0ZW1kLXRpbWVzeW5jOng6MTkyOjE5MjpzeXN0ZW1kLXRpbWVzeW5jOi86L3Vzci9iaW4vbm9sb2dpbgpzeXN0ZW1kLW5ldHdvcms6eDoxOTM6MTkzOnN5c3RlbWQtbmV0d29yazovOi91c3IvYmluL25vbG9naW4Kc3lzdGVtZC1idXMtcHJveHk6eDoxOTQ6MTk0OnN5c3RlbWQtYnVzLXByb3h5Oi86L3Vzci9iaW4vbm9sb2dpbgpzeXN0ZW1kLXJlc29sdmU6eDoxOTU6MTk1OnN5c3RlbWQtcmVzb2x2ZTovOi91c3IvYmluL25vbG9naW4K
Output for 5.4.41 - 7.0.14, 7.1.0
cm9vdDp4OjA6MDpyb290Oi9yb290Oi9iaW4vYmFzaApiaW46eDoxOjE6YmluOi9iaW46L3Vzci9iaW4vbm9sb2dpbgpkYWVtb246eDoyOjI6ZGFlbW9uOi86L3Vzci9iaW4vbm9s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