3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $a = array(); for ($i = 0; $i < 20; $i++) { $a[] = (int) sprintf('%02d', $i); } echo implode($a, ',');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/qOcUd
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->11
    5     3    >   INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 '%2502d'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $5      
          7        CAST                                          4  ~6      $5
          8        ASSIGN_DIM                                               !0
          9        OP_DATA                                                  ~6
    4    10        PRE_INC                                                  !1
         11    >   IS_SMALLER                                               !1, 20
         12      > JMPNZ                                                    ~8, ->3
    7    13    >   INIT_FCALL                                               'implode'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 '%2C'
         16        DO_ICALL                                         $9      
         17        ECHO                                                     $9
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.58 ms | 1395 KiB | 17 Q