3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($x = 1; $x == 100; $x++) { str_replace("X", "V", "x"); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
Branch analysis from position: 2
filename:       /in/ApVI4
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->8
    3     2    >   INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 'X'
          4        SEND_VAL                                                 'V'
          5        SEND_VAL                                                 'x'
          6        DO_ICALL                                                 
    2     7        PRE_INC                                                  !0
          8    >   IS_EQUAL                                                 !0, 100
          9      > JMPNZ                                                    ~4, ->2
    4    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.52 ms | 1394 KiB | 15 Q