3v4l.org

run code in 300+ PHP versions simultaneously
<?php $skid_num = 0; $mfg_begin = 10; $num_of_skids = 50; 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 = 38
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 5
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 5
Branch analysis from position: 40
Branch analysis from position: 5
filename:       /in/WbuPs
function name:  (null)
number of ops:  41
compiled vars:  !0 = $skid_num, !1 = $mfg_begin, !2 = $num_of_skids, !3 = $x, !4 = $mfg_end_num, !5 = $per_skid, !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
    5     1        ASSIGN                                                   !1, 10
    9     2        ASSIGN                                                   !2, 50
   12     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->38
   14     5    >   PRE_INC                                                  !0
   15     6        ADD                                              ~16     !1, !5
          7        SUB                                              ~17     ~16, 1
          8        ASSIGN                                                   !4, ~17
   16     9        ADD                                              ~19     !4, 1
         10        ASSIGN                                                   !6, ~19
   17    11        INIT_FCALL                                               'str_pad'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 2
         14        SEND_VAL                                                 '+'
         15        SEND_VAL                                                 1
         16        DO_ICALL                                         $21     
         17        CONCAT                                           ~22     'SKID+%23+', $21
         18        CONCAT                                           ~23     ~22, '+'
         19        CONCAT                                           ~24     ~23, !7
         20        CONCAT                                           ~25     ~24, !8
         21        CONCAT                                           ~26     ~25, '-'
         22        CONCAT                                           ~27     ~26, !7
         23        CONCAT                                           ~28     ~27, !9
         24        INIT_FCALL                                               'str_pad'
         25        SEND_VAL                                                 '+'
         26        SEND_VAL                                                 5
         27        SEND_VAL                                                 '+'
         28        DO_ICALL                                         $29     
         29        CONCAT                                           ~30     ~28, $29
         30        CONCAT                                           ~31     ~30, !10
         31        CONCAT                                           ~32     ~31, !6
         32        CONCAT                                           ~33     ~32, '-'
         33        CONCAT                                           ~34     ~33, !10
         34        CONCAT                                           ~35     ~34, !4
         35        CONCAT                                           ~36     ~35, '%0D%0A'
         36        ECHO                                                     ~36
   12    37        PRE_INC                                                  !3
         38    >   IS_SMALLER_OR_EQUAL                                      !3, !2
         39      > JMPNZ                                                    ~38, ->5
   21    40    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.68 ms | 1392 KiB | 15 Q