3v4l.org

run code in 500+ PHP versions simultaneously
<?php set_error_handler(function($errno, $errstr, $errfile, $errline) { //~ echo "ERROR: [$errno], [$errstr], [$errfile($errline)], "; }, E_RECOVERABLE_ERROR); function setDateFrom(\DateTime $val = Null) { var_dump($val); } setDateFrom('10.10.2019');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m9Ofm
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                              ~0      [0]
    4     2        SEND_VAL                                                     ~0
          3        SEND_VAL                                                     4096
    2     4        DO_ICALL                                                     
   11     5        INIT_FCALL                                                   'setdatefrom'
          6        SEND_VAL                                                     '10.10.2019'
          7        DO_FCALL                                          0          
          8      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m9Ofm
function name:  {closure:/in/m9Ofm:2}
number of ops:  5
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        RECV                                                 !2      
          3        RECV                                                 !3      
    4     4      > RETURN                                                       null

End of Dynamic Function 0

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

End of function setdatefrom

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
228.01 ms | 2226 KiB | 16 Q