3v4l.org

run code in 500+ PHP versions simultaneously
<?php try { new \DateInterval('1M'); } catch (Throwable $e) { var_dump($e->getMessage()); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
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
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MBaPe
function name:  (null)
number of ops:  12
compiled vars:  !0 = $e
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   NEW                                                  $1      'DateInterval'
          1        SEND_VAL_EX                                                  '1M'
          2        DO_FCALL                                          0          
          3        FREE                                                         $1
          4      > JMP                                                          ->11
    5     5  E > > CATCH                                           last         'Throwable'
    6     6    >   INIT_FCALL                                                   'var_dump'
          7        INIT_METHOD_CALL                                             !0, 'getMessage'
          8        DO_FCALL                                          0  $3      
          9        SEND_VAR                                                     $3
         10        DO_ICALL                                                     
    7    11    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.03 ms | 3362 KiB | 14 Q