3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0; $i<90000; ++$i) { if(empty($bla)) { $bla = array(); } $bla[] = $i; } echo avg($bla);
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 = 2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
Branch analysis from position: 2
Branch analysis from position: 5
filename:       /in/FQjYT
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $bla
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->8
    4     2    >   ISSET_ISEMPTY_CV                                         !1
          3      > JMPZ                                                     ~3, ->5
    5     4    >   ASSIGN                                                   !1, <array>
    7     5    >   ASSIGN_DIM                                               !1
          6        OP_DATA                                                  !0
    3     7        PRE_INC                                                  !0
          8    >   IS_SMALLER                                               !0, 90000
          9      > JMPNZ                                                    ~7, ->2
    9    10    >   INIT_FCALL_BY_NAME                                       'avg'
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0  $8      
         13        ECHO                                                     $8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.22 ms | 938 KiB | 14 Q