3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = microtime(); $a = range(1,10000); foreach ($a as $i) { isset($a['asd']); } echo microtime() - $time, "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/pTDbf
function name:  (null)
number of ops:  20
compiled vars:  !0 = $time, !1 = $a, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'microtime'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
    4     3        INIT_FCALL                                               'range'
          4        SEND_VAL                                                 1
          5        SEND_VAL                                                 10000
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    5     8      > FE_RESET_R                                       $7      !1, ->13
          9    > > FE_FETCH_R                                               $7, !2, ->13
    6    10    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~8      !1, 'asd'
         11        FREE                                                     ~8
    5    12      > JMP                                                      ->9
         13    >   FE_FREE                                                  $7
    8    14        INIT_FCALL                                               'microtime'
         15        DO_ICALL                                         $9      
         16        SUB                                              ~10     $9, !0
         17        ECHO                                                     ~10
         18        ECHO                                                     '%0A'
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.46 ms | 1395 KiB | 17 Q