3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyDateTime implements \DateTimeInterface { public function diff($datetime2, $absolute = false) { // TODO: Implement diff() method. } public function format($format) { // TODO: Implement format() method. } public function getOffset() { // TODO: Implement getOffset() method. } public function getTimestamp() { // TODO: Implement getTimestamp() method. } public function getTimezone() { // TODO: Implement getTimezone() method. } public function __wakeup() { // TODO: Implement __wakeup() method. } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GvgO
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'mydatetime'
   38     1      > RETURN                                                   1

Class MyDateTime:
Function diff:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GvgO
function name:  diff
number of ops:  3
compiled vars:  !0 = $datetime2, !1 = $absolute
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <false>
    9     2      > RETURN                                                   null

End of function diff

Function format:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GvgO
function name:  format
number of ops:  2
compiled vars:  !0 = $format
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   15     1      > RETURN                                                   null

End of function format

Function getoffset:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GvgO
function name:  getOffset
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E > > RETURN                                                   null

End of function getoffset

Function gettimestamp:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GvgO
function name:  getTimestamp
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   27     0  E > > RETURN                                                   null

End of function gettimestamp

Function gettimezone:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GvgO
function name:  getTimezone
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   32     0  E > > RETURN                                                   null

End of function gettimezone

Function __wakeup:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GvgO
function name:  __wakeup
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   37     0  E > > RETURN                                                   null

End of function __wakeup

End of class MyDateTime.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.49 ms | 1395 KiB | 13 Q