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)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bRPqK
function name:  (null)
number of ops:  24
compiled vars:  !0 = $shit, !1 = $filters, !2 = $uri
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'readfile'
          1        SEND_VAL                                                 '%2Fetc%2Fpasswd'
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'php%3A%2F%2Ffilter%2Fzlib.deflate%2Fconvert.base64-encode%2Fresource%3Dphp%3A%2F%2Ftemp'
    6     4        ASSIGN                                                   !1, 'convert.iconv.utf-8%252futf-32be%2Fconvert.base64-encode%2Fstring.rot13%2Fconvert.base64-decode%2Fstring.rot13%2Fconvert.base64-encode%2Fstring.rot13%2Fconvert.base64-decode'
    7     5        ROPE_INIT                                     4  ~7      'php%3A%2F%2Ffilter%2F'
          6        ROPE_ADD                                      1  ~7      ~7, !1
          7        ROPE_ADD                                      2  ~7      ~7, '%2Fresource%3D'
          8        ROPE_END                                      3  ~6      ~7, !0
          9        ASSIGN                                                   !2, ~6
    9    10        INIT_FCALL                                               'bin2hex'
         11        INIT_FCALL                                               'file_get_contents'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $10     
         14        SEND_VAR                                                 $10
         15        DO_ICALL                                         $11     
         16        ECHO                                                     $11
   10    17        INIT_FCALL                                               'print_r'
         18        INIT_FCALL                                               'getimagesize'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                         $12     
         21        SEND_VAR                                                 $12
         22        DO_ICALL                                                 
   13    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.51 ms | 1015 KiB | 18 Q