3v4l.org

run code in 300+ PHP versions simultaneously
<?php $skid_num = 0; $per_skid = 5; $num_of_skids = 50; $mfg_begin = 0; for( $x = 0; $x <= $num_of_skids; $x++) { $skid_num++; $mfg_end_num = $mfg_begin + $per_skid - 1; $mfg_begin_num = $mfg_end_num + 1; echo("SKID # " . str_pad($skid_num, 2, " ", STR_PAD_RIGHT) . " " . $cst_prefix . $cst_begin . "-" . $cst_prefix . $cst_end . str_pad( " ", 5, " ") . $mfg_prefix . $mfg_begin_num . "-" . $mfg_prefix . $mfg_end_num . "\r\n"); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 6
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 6
Branch analysis from position: 41
Branch analysis from position: 6
filename:       /in/PXZIR
function name:  (null)
number of ops:  42
compiled vars:  !0 = $skid_num, !1 = $per_skid, !2 = $num_of_skids, !3 = $mfg_begin, !4 = $x, !5 = $mfg_end_num, !6 = $mfg_begin_num, !7 = $cst_prefix, !8 = $cst_begin, !9 = $cst_end, !10 = $mfg_prefix
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 5
    5     2        ASSIGN                                                   !2, 50
    7     3        ASSIGN                                                   !3, 0
   14     4        ASSIGN                                                   !4, 0
          5      > JMP                                                      ->39
   16     6    >   PRE_INC                                                  !0
   17     7        ADD                                              ~17     !3, !1
          8        SUB                                              ~18     ~17, 1
          9        ASSIGN                                                   !5, ~18
   18    10        ADD                                              ~20     !5, 1
         11        ASSIGN                                                   !6, ~20
   19    12        INIT_FCALL                                               'str_pad'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 2
         15        SEND_VAL                                                 '+'
         16        SEND_VAL                                                 1
         17        DO_ICALL                                         $22     
         18        CONCAT                                           ~23     'SKID+%23+', $22
         19        CONCAT                                           ~24     ~23, '+'
         20        CONCAT                                           ~25     ~24, !7
         21        CONCAT                                           ~26     ~25, !8
         22        CONCAT                                           ~27     ~26, '-'
         23        CONCAT                                           ~28     ~27, !7
         24        CONCAT                                           ~29     ~28, !9
         25        INIT_FCALL                                               'str_pad'
         26        SEND_VAL                                                 '+'
         27        SEND_VAL                                                 5
         28        SEND_VAL                                                 '+'
         29        DO_ICALL                                         $30     
         30        CONCAT                                           ~31     ~29, $30
         31        CONCAT                                           ~32     ~31, !10
         32        CONCAT                                           ~33     ~32, !6
         33        CONCAT                                           ~34     ~33, '-'
         34        CONCAT                                           ~35     ~34, !10
         35        CONCAT                                           ~36     ~35, !5
         36        CONCAT                                           ~37     ~36, '%0D%0A'
         37        ECHO                                                     ~37
   14    38        PRE_INC                                                  !4
         39    >   IS_SMALLER_OR_EQUAL                                      !4, !2
         40      > JMPNZ                                                    ~39, ->6
   23    41    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.65 ms | 1400 KiB | 15 Q