3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.42 ms | 1400 KiB | 15 Q