3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.07 ms | 1395 KiB | 17 Q