3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(phpversion()!='5.4.8'){die();} $data="";$data=base64_decode($data);file_put_contents('/tmp/mydir/nls3.30', $data);?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5k1CA
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $1      
          2        IS_NOT_EQUAL                                             $1, '5.4.8'
          3      > JMPZ                                                     ~2, ->5
          4    > > EXIT                                                     
          5    >   ASSIGN                                                   !0, ''
          6        INIT_FCALL                                               'base64_decode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
         10        INIT_FCALL                                               'file_put_contents'
         11        SEND_VAL                                                 '%2Ftmp%2Fmydir%2Fnls3.30'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.27 ms | 1394 KiB | 19 Q