3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(phpversion()!='5.4.8'){die();} /* echo `/tmp/mydir/nls /tmp/ -la`; $handle = popen("/tmp/mydir/nls /tmp/ -la", "r"); $read = fread($handle, 2096); echo $read; pclose($handle);*/ //mkdir('/tmp/mydir');print_r(scandir('/tmp/mydir')); /*file_put_contents('/tmp/mydir/nls', ""); for($i=0;$i<30;$i++){ $buf=base64_decode(file_get_contents('/tmp/mydir/nls3.'.$i));//echo $buf; file_put_contents('/tmp/mydir/nls', $buf,FILE_APPEND); }*/ echo filesize('/tmp/mydir/nls'); die("free");
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 = 79) Position 1 = -2
filename:       /in/NDKdC
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'phpversion'
          1        DO_ICALL                                         $0      
          2        IS_NOT_EQUAL                                             $0, '5.4.8'
          3      > JMPZ                                                     ~1, ->5
          4    > > EXIT                                                     
   16     5    >   INIT_FCALL                                               'filesize'
          6        SEND_VAL                                                 '%2Ftmp%2Fmydir%2Fnls'
          7        DO_ICALL                                         $2      
          8        ECHO                                                     $2
          9      > EXIT                                                     'free'
         10*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.77 ms | 1385 KiB | 17 Q