3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Failure implements Throwable { /*** * Gets the message * @link http://php.net/manual/en/throwable.getmessage.php * @return string * @since 7.0 */ public function getMessage() { // TODO: Implement getMessage() method. } /** * Gets the exception code * @link http://php.net/manual/en/throwable.getcode.php * @return int <p> * Returns the exception code as integer in * {@see Exception} but possibly as other type in * {@see Exception} descendants (for example as * string in {@see PDOException}). * </p> * @since 7.0 */ public function getCode() { // TODO: Implement getCode() method. } /** * Gets the file in which the exception occurred * @link http://php.net/manual/en/throwable.getfile.php * @return string Returns the name of the file from which the object was thrown. * @since 7.0 */ public function getFile() { // TODO: Implement getFile() method. } /** * Gets the line on which the object was instantiated * @link http://php.net/manual/en/throwable.getline.php * @return int Returns the line number where the thrown object was instantiated. * @since 7.0 */ public function getLine() { // TODO: Implement getLine() method. } /** * Gets the stack trace * @link http://php.net/manual/en/throwable.gettrace.php * @return array <p> * Returns the stack trace as an array in the same format as * {@see debug_backtrace()}. * </p> * @since 7.0 */ public function getTrace() { // TODO: Implement getTrace() method. } /** * Gets the stack trace as a string * @link http://php.net/manual/en/throwable.gettraceasstring.php * @return string Returns the stack trace as a string. * @since 7.0 */ public function getTraceAsString() { // TODO: Implement getTraceAsString() method. } /** * Returns the previous Throwable * @link http://php.net/manual/en/throwable.getprevious.php * @return Throwable Returns the previous {@see Throwable} if available, or <b>NULL</b> otherwise. * @since 7.0 */ public function getPrevious() { // TODO: Implement getPrevious() method. } /** * Gets a string representation of the thrown object * @link http://php.net/manual/en/throwable.tostring.php * @return string <p>Returns the string representation of the thrown object.</p> * @since 7.0 */ public function __toString() { // TODO: Implement __toString() method. } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/epRIV
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CLASS                                            'failure'
   99     1      > RETURN                                                   1

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

End of function getmessage

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

End of function getcode

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

End of function getfile

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

End of function getline

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

End of function gettrace

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

End of function gettraceasstring

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

End of function getprevious

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

End of function __tostring

End of class Failure.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.61 ms | 1399 KiB | 13 Q