3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo extends DateTime { function add(DateInterval $interval){ parent::add($interval); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oh0uT
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                       1

Class Foo:
Function add:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oh0uT
function name:  add
number of ops:  5
compiled vars:  !0 = $interval
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
          1        INIT_STATIC_METHOD_CALL                                      'add'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0          
          4      > RETURN                                                       null

End of function add

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.4 ms | 2663 KiB | 13 Q