3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<?php echo 'lol'; ?>"; $i=9990; $var = '@'; while(substr(';',$var)!=-1){ $var++; } echo"var:"+$var; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/1jWjh
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i, !1 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3C%3Fphp+echo+%27lol%27%3B+%3F%3E'
    3     1        ASSIGN                                                   !0, 9990
    4     2        ASSIGN                                                   !1, '%40'
    5     3      > JMP                                                      ->5
    6     4    >   PRE_INC                                                  !1
    5     5    >   INIT_FCALL                                               'substr'
          6        SEND_VAL                                                 '%3B'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $5      
          9        IS_NOT_EQUAL                                             $5, -1
         10      > JMPNZ                                                    ~6, ->4
    8    11    >   ADD                                              ~7      'var%3A', !1
         12        ECHO                                                     ~7
    9    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.18 ms | 1394 KiB | 15 Q