3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { var $a; var $b; var $c; } $array = array(); for($i=0;$i<=10000;$i++) { //$array[]= array('a' => 1, 'b' => 2+$i, 'c' => 3+$i+$i); $array[]= new test(1,2+$i,3+$i+$i); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
filename:       /in/JOK46
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN                                                   !0, <array>
   12     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->14
   15     3    >   NEW                                              $5      'test'
          4        SEND_VAL_EX                                              1
          5        ADD                                              ~6      2, !1
          6        SEND_VAL_EX                                              ~6
          7        ADD                                              ~7      3, !1
          8        ADD                                              ~8      ~7, !1
          9        SEND_VAL_EX                                              ~8
         10        DO_FCALL                                      0          
         11        ASSIGN_DIM                                               !0
         12        OP_DATA                                                  $5
   12    13        PRE_INC                                                  !1
         14    >   IS_SMALLER_OR_EQUAL                                      !1, 10000
         15      > JMPNZ                                                    ~11, ->3
   17    16    > > RETURN                                                   1

Class test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.6 ms | 1393 KiB | 13 Q