3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $a = new SplFileObject('Standard input code'); } catch (\Throwable $exception) { } var_dump(error_get_last());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
filename:       /in/Al4QW
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $exception
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $2      'SplFileObject'
          1        SEND_VAL_EX                                              'Standard+input+code'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
          4      > JMP                                                      ->6
    5     5  E > > CATCH                                       last         'Throwable'
    8     6    >   INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'error_get_last'
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
277.09 ms | 1010 KiB | 15 Q