3v4l.org

run code in 300+ PHP versions simultaneously
<?php readfile("/etc/passwd"); $shit = "php://filter/zlib.deflate/convert.base64-encode/resource=php://temp"; $filters = "convert.iconv.utf-8%2futf-32be/convert.base64-encode/string.rot13/convert.base64-decode/string.rot13/convert.base64-encode/string.rot13/convert.base64-decode"; $uri = "php://filter/$filters/resource=$shit"; echo bin2hex(file_get_contents($uri)); print_r(getimagesize($uri)); ?>
Output for git.master, git.master_jit, rfc.property-hooks
root:x:0:0::/root:/bin/bash Warning: file_get_contents(): Unable to create or locate filter "convert.iconv.utf-8/utf-32be" in /in/bRPqK on line 9 Warning: file_get_contents(): Unable to create filter (convert.iconv.utf-8/utf-32be) in /in/bRPqK on line 9 4177413c Warning: getimagesize(): Unable to create or locate filter "convert.iconv.utf-8/utf-32be" in /in/bRPqK on line 10 Warning: getimagesize(): Unable to create filter (convert.iconv.utf-8/utf-32be) in /in/bRPqK on line 10 Notice: getimagesize(): Error reading from php://filter/convert.iconv.utf-8%2futf-32be/convert.base64-encode/string.rot13/convert.base64-decode/string.rot13/convert.base64-encode/string.rot13/convert.base64-decode/resource=php://filter/zlib.deflate/convert.base64-encode/resource=php://temp! in /in/bRPqK on line 10

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
159.9 ms | 407 KiB | 5 Q