3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = 0; for($i = 50000; $i--; ) { $s = microtime(true); glob("*.php"); $d = microtime(true) - $s; $t += $d; } echo $t / 50000;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
Branch analysis from position: 3
filename:       /in/MUqac
function name:  (null)
number of ops:  21
compiled vars:  !0 = $t, !1 = $i, !2 = $s, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    5     1        ASSIGN                                                   !1, 50000
          2      > JMP                                                      ->16
    6     3    >   INIT_FCALL                                               'microtime'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    7     7        INIT_FCALL                                               'glob'
          8        SEND_VAL                                                 '%2A.php'
          9        DO_ICALL                                                 
    8    10        INIT_FCALL                                               'microtime'
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $9      
         13        SUB                                              ~10     $9, !2
         14        ASSIGN                                                   !3, ~10
    9    15        ASSIGN_OP                                     1          !0, !3
    5    16    >   POST_DEC                                         ~13     !1
         17      > JMPNZ                                                    ~13, ->3
   11    18    >   DIV                                              ~14     !0, 50000
         19        ECHO                                                     ~14
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.65 ms | 1395 KiB | 17 Q