3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filename='/tmp/data'; file_put_contents($filename, gzdecode(base64_decode('H4sIAAAAAAAAA23SOwqAQBRD0d7FiMnz27kVkekcFGXA5Wsr1/ZWh5BypVNzupd8bKle91yVtxglUFqUDqVHGVBGlAlFDRPVIlt0i3BRLtJFu4gX9abeP5tTb+pNvak39abe1Jv6oD6oj5/LUB/Ux1f/ACGtSyKQAgAA'))); /**/ $fp = fopen($filename, 'r'); if ($fp) { $line = explode("\n", fread($fp, filesize($filename))); } print_r($line);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 29
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
filename:       /in/t2hrO
function name:  (null)
number of ops:  33
compiled vars:  !0 = $filename, !1 = $fp, !2 = $line
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Ftmp%2Fdata'
    4     1        INIT_FCALL                                               'file_put_contents'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'gzdecode'
          4        INIT_FCALL                                               'base64_decode'
          5        SEND_VAL                                                 'H4sIAAAAAAAAA23SOwqAQBRD0d7FiMnz27kVkekcFGXA5Wsr1%2FZWh5BypVNzupd8bKle91yVtxglUFqUDqVHGVBGlAlFDRPVIlt0i3BRLtJFu4gX9abeP5tTb%2BpNvak39abe1Jv6oD6oj5%2FLUB%2FUx1f%2FACGtSyKQAgAA'
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
    8    11        INIT_FCALL                                               'fopen'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 'r'
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !1, $7
    9    16      > JMPZ                                                     !1, ->29
   10    17    >   INIT_FCALL                                               'explode'
         18        SEND_VAL                                                 '%0A'
         19        INIT_FCALL                                               'fread'
         20        SEND_VAR                                                 !1
         21        INIT_FCALL                                               'filesize'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $9      
         24        SEND_VAR                                                 $9
         25        DO_ICALL                                         $10     
         26        SEND_VAR                                                 $10
         27        DO_ICALL                                         $11     
         28        ASSIGN                                                   !2, $11
   12    29    >   INIT_FCALL                                               'print_r'
         30        SEND_VAR                                                 !2
         31        DO_ICALL                                                 
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.15 ms | 1401 KiB | 29 Q