3v4l.org

run code in 300+ PHP versions simultaneously
<?php $max = 2 ** 20; $idxs = range(1, $max-1); print_r($max); print_r($max-1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OUSMR
function name:  (null)
number of ops:  15
compiled vars:  !0 = $max, !1 = $idxs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1048576
    4     1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 1
          3        SUB                                              ~3      !0, 1
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    5     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10        INIT_FCALL                                               'print_r'
         11        SUB                                              ~7      !0, 1
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.82 ms | 1394 KiB | 17 Q