3v4l.org

run code in 500+ PHP versions simultaneously
<?php function setDateFrom(\DateTime $val = Null) { var_dump($val); } try { setDateFrom('10.10.2019'); } catch (TypeError $e) { // ... }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 4
Branch analysis from position: 4
2 jumps found. (Code = 107) Position 1 = 5, Position 2 = -2
Branch analysis from position: 5
filename:       /in/DDEC8
function name:  (null)
number of ops:  6
compiled vars:  !0 = $e
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                                   'setdatefrom'
          1        SEND_VAL                                                     '10.10.2019'
          2        DO_FCALL                                          0          
          3      > JMP                                                          ->5
    9     4  E > > CATCH                                           last         'TypeError'
   11     5    > > RETURN                                                       1

Function setdatefrom:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DDEC8
function name:  setDateFrom
number of ops:  5
compiled vars:  !0 = $val
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                            !0      null
    4     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
    5     4      > RETURN                                                       null

End of function setdatefrom

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.7 ms | 2233 KiB | 15 Q