3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo implements DateTimeInterface { /** * @inheritDoc */ public function diff($datetime2, $absolute = false) { // TODO: Implement diff() method. } /** * @inheritDoc */ public function format($format) { // TODO: Implement format() method. } /** * @inheritDoc */ public function getOffset() { // TODO: Implement getOffset() method. } /** * @inheritDoc */ public function getTimestamp() { // TODO: Implement getTimestamp() method. } /** * @inheritDoc */ public function getTimezone() { // TODO: Implement getTimezone() method. } /** * @inheritDoc */ 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/468RB
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'foo'
   53     1      > RETURN                                                   1

Class Foo:
Function diff:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/468RB
function name:  diff
number of ops:  3
compiled vars:  !0 = $datetime2, !1 = $absolute
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <false>
   12     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/468RB
function name:  format
number of ops:  2
compiled vars:  !0 = $format
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
   20     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/468RB
function name:  getOffset
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     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/468RB
function name:  getTimestamp
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   36     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/468RB
function name:  getTimezone
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   44     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/468RB
function name:  __wakeup
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   52     0  E > > RETURN                                                   null

End of function __wakeup

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.54 ms | 1395 KiB | 13 Q