3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prodCount = 10; $order_id = 101; for($count=5;$count<=$prodCount;$count=$count+5) { $orders[] = $order_id; } echo "<pre>",print_r($orders);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
Branch analysis from position: 4
filename:       /in/BmJUi
function name:  (null)
number of ops:  16
compiled vars:  !0 = $prodCount, !1 = $order_id, !2 = $count, !3 = $orders
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 10
    3     1        ASSIGN                                                   !1, 101
    4     2        ASSIGN                                                   !2, 5
          3      > JMP                                                      ->8
    6     4    >   ASSIGN_DIM                                               !3
          5        OP_DATA                                                  !1
    4     6        ADD                                              ~8      !2, 5
          7        ASSIGN                                                   !2, ~8
          8    >   IS_SMALLER_OR_EQUAL                                      !2, !0
          9      > JMPNZ                                                    ~10, ->4
    8    10    >   ECHO                                                     '%3Cpre%3E'
         11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                         $11     
         14        ECHO                                                     $11
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.18 ms | 1386 KiB | 15 Q