3v4l.org

run code in 300+ PHP versions simultaneously
<?php mkdir("/derp"); file_put_contents('/var/www/derp.log', 'allalalalala'); var_dump(glob('/tmp'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/86JgB
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mkdir'
          1        SEND_VAL                                                 '%2Fderp'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'file_put_contents'
          4        SEND_VAL                                                 '%2Fvar%2Fwww%2Fderp.log'
          5        SEND_VAL                                                 'allalalalala'
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'glob'
          9        SEND_VAL                                                 '%2Ftmp'
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.98 ms | 1394 KiB | 21 Q