3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o=''; $b=''; for($i=0;$i<=5000;$i++){ $o.=sprintf('%s',$i); $b.="$i"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 4
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 4
Branch analysis from position: 14
Branch analysis from position: 4
filename:       /in/pjioi
function name:  (null)
number of ops:  15
compiled vars:  !0 = $o, !1 = $b, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        ASSIGN                                                   !1, ''
    4     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->12
    5     4    >   INIT_FCALL                                               'sprintf'
          5        SEND_VAL                                                 '%25s'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $6      
          8        ASSIGN_OP                                     8          !0, $6
    6     9        CAST                                          6  ~8      !2
         10        ASSIGN_OP                                     8          !1, ~8
    4    11        PRE_INC                                                  !2
         12    >   IS_SMALLER_OR_EQUAL                                      !2, 5000
         13      > JMPNZ                                                    ~11, ->4
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.83 ms | 991 KiB | 14 Q