3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rates = array(); for ($i=0; $i<1000000;$i++) { $HAAPI_rate = array( 'Board' => 'nin', 'Price' => 32.4, 'NetPrice' => 32.4, 'BookingFee' => 12, 'Tax' => 0, ); $rate = array( 'board' => $HAAPI_rate['Board'], 'price' => $HAAPI_rate['Price'], 'netPrice' => $HAAPI_rate['NetPrice'], 'bookingFee' => $HAAPI_rate['BookingFee'], 'tax' => $HAAPI_rate['Tax'], ); $rates[] = $rate; } return $rates;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
Branch analysis from position: 3
filename:       /in/aFJ8N
function name:  (null)
number of ops:  22
compiled vars:  !0 = $rates, !1 = $i, !2 = $HAAPI_rate, !3 = $rate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->18
    5     3    >   ASSIGN                                                   !2, <array>
   14     4        FETCH_DIM_R                                      ~7      !2, 'Board'
          5        INIT_ARRAY                                       ~8      ~7, 'board'
   15     6        FETCH_DIM_R                                      ~9      !2, 'Price'
          7        ADD_ARRAY_ELEMENT                                ~8      ~9, 'price'
   16     8        FETCH_DIM_R                                      ~10     !2, 'NetPrice'
          9        ADD_ARRAY_ELEMENT                                ~8      ~10, 'netPrice'
   17    10        FETCH_DIM_R                                      ~11     !2, 'BookingFee'
         11        ADD_ARRAY_ELEMENT                                ~8      ~11, 'bookingFee'
   18    12        FETCH_DIM_R                                      ~12     !2, 'Tax'
         13        ADD_ARRAY_ELEMENT                                ~8      ~12, 'tax'
   13    14        ASSIGN                                                   !3, ~8
   20    15        ASSIGN_DIM                                               !0
         16        OP_DATA                                                  !3
    4    17        PRE_INC                                                  !1
         18    >   IS_SMALLER                                               !1, 1000000
         19      > JMPNZ                                                    ~16, ->3
   23    20    > > RETURN                                                   !0
         21*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.85 ms | 1394 KiB | 13 Q