3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i='$i'; var_dump(`for i in {0..9999999} ; do echo $i ; done`);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VPnZF
function name:  (null)
number of ops:  11
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, '%24i'
          1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'shell_exec'
          3        ROPE_INIT                                     3  ~3      'for+i+in+%7B0..9999999%7D+%3B+do+echo+'
          4        ROPE_ADD                                      1  ~3      ~3, !0
          5        ROPE_END                                      2  ~2      ~3, '+%3B+done'
          6        SEND_VAL                                                 ~2
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.98 ms | 1394 KiB | 17 Q