3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(range(1, 150) as $rid){ // range(1, 150) echo "CN_0".str_pad($rid,3,0,STR_PAD_LEFT)."\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/bU7SW
function name:  (null)
number of ops:  18
compiled vars:  !0 = $rid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 150
          3        DO_ICALL                                         $1      
          4      > FE_RESET_R                                       $2      $1, ->16
          5    > > FE_FETCH_R                                               $2, !0, ->16
    5     6    >   INIT_FCALL                                               'str_pad'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 3
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 0
         11        DO_ICALL                                         $3      
         12        CONCAT                                           ~4      'CN_0', $3
         13        CONCAT                                           ~5      ~4, '%0A'
         14        ECHO                                                     ~5
    3    15      > JMP                                                      ->5
         16    >   FE_FREE                                                  $2
    6    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.56 ms | 1395 KiB | 17 Q