3v4l.org

run code in 300+ PHP versions simultaneously
<?php function addDateFilter(QueryBuilder $queryBuilder, \DateTime $fromDate = null, \DateTime $toDate = null) { var_dump(func_get_arg(1)); die; } addDateFilter("xx","xx");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1dMfD
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'adddatefilter'
          1        SEND_VAL                                                 'xx'
          2        SEND_VAL                                                 'xx'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function adddatefilter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/1dMfD
function name:  addDateFilter
number of ops:  11
compiled vars:  !0 = $queryBuilder, !1 = $fromDate, !2 = $toDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      null
    4     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'func_get_arg'
          5        SEND_VAL                                                 1
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                                 
    5     9      > EXIT                                                     
    6    10*     > RETURN                                                   null

End of function adddatefilter

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.91 ms | 1397 KiB | 18 Q