3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(range(1,8) as $z) { echo $z." - ".base_convert($z,10,3)."\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 16
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 16
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/Phjjt
function name:  (null)
number of ops:  18
compiled vars:  !0 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 8
          3        DO_ICALL                                         $1      
          4      > FE_RESET_R                                       $2      $1, ->16
          5    > > FE_FETCH_R                                               $2, !0, ->16
    4     6    >   CONCAT                                           ~3      !0, '+-+'
          7        INIT_FCALL                                               'base_convert'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 10
         10        SEND_VAL                                                 3
         11        DO_ICALL                                         $4      
         12        CONCAT                                           ~5      ~3, $4
         13        CONCAT                                           ~6      ~5, '%0A'
         14        ECHO                                                     ~6
    3    15      > JMP                                                      ->5
         16    >   FE_FREE                                                  $2
    5    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.59 ms | 1395 KiB | 17 Q