3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = microtime(); if(file_exists('foo.php')) {} $b = microtime(); echo $b - $a;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/mUEtQ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'microtime'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    5     3        INIT_FCALL                                               'file_exists'
          4        SEND_VAL                                                 'foo.php'
          5        DO_ICALL                                         $4      
          6      > JMPZ                                                     $4, ->7
    7     7    >   INIT_FCALL                                               'microtime'
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    9    10        SUB                                              ~7      !1, !0
         11        ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.4 ms | 1394 KiB | 17 Q