3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('/tmp/derp.log', 'allalalalala'); $a = `ls -la`;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pmNNh
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 '%2Ftmp%2Fderp.log'
          2        SEND_VAL                                                 'allalalalala'
          3        DO_ICALL                                                 
    6     4        INIT_FCALL                                               'shell_exec'
          5        SEND_VAL                                                 'ls+-la'
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.33 ms | 1385 KiB | 17 Q