3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = range(1, 10000); $r = ""; for($i=0, $length = count($arr);$i < $length;$i++) { $r .= base64_encode($arr[$i]); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 10
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 10
Branch analysis from position: 18
Branch analysis from position: 10
filename:       /in/tCDOK
function name:  (null)
number of ops:  19
compiled vars:  !0 = $arr, !1 = $r, !2 = $i, !3 = $length
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 10000
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !0, $4
    4     5        ASSIGN                                                   !1, ''
    5     6        ASSIGN                                                   !2, 0
          7        COUNT                                            ~8      !0
          8        ASSIGN                                                   !3, ~8
          9      > JMP                                                      ->16
    6    10    >   INIT_FCALL                                               'base64_encode'
         11        FETCH_DIM_R                                      ~10     !0, !2
         12        SEND_VAL                                                 ~10
         13        DO_ICALL                                         $11     
         14        ASSIGN_OP                                     8          !1, $11
    5    15        PRE_INC                                                  !2
         16    >   IS_SMALLER                                               !2, !3
         17      > JMPNZ                                                    ~14, ->10
    7    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.47 ms | 1395 KiB | 17 Q