3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = microtime(true); try { require_once('foo.php'); } catch(\Exception $e) {} echo microtime(true) - $t;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 6
Branch analysis from position: 6
2 jumps found. (Code = 107) Position 1 = 7, Position 2 = -2
Branch analysis from position: 7
filename:       /in/4EGc1
function name:  (null)
number of ops:  13
compiled vars:  !0 = $t, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INCLUDE_OR_EVAL                                          'foo.php', REQUIRE_ONCE
          5      > JMP                                                      ->7
          6  E > > CATCH                                       last         'Exception'
    5     7    >   INIT_FCALL                                               'microtime'
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $5      
         10        SUB                                              ~6      $5, !0
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.09 ms | 1394 KiB | 15 Q