3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(1, 100000); for ($i=0; $i<100; $i++) { $z = (array)$a; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 7
Branch analysis from position: 12
Branch analysis from position: 7
filename:       /in/sf6db
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $i, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 100000
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    5     5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->10
    7     7    >   CAST                                          7  ~6      !0
          8        ASSIGN                                                   !2, ~6
    5     9        PRE_INC                                                  !1
         10    >   IS_SMALLER                                               !1, 100
         11      > JMPNZ                                                    ~9, ->7
    8    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.63 ms | 1394 KiB | 15 Q