rfc:stack-frame-class
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:stack-frame-class [2020/07/09 06:49] – brzuchal | rfc:stack-frame-class [2020/07/21 04:46] – removed immutability on properties brzuchal | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: StackFrame class ====== | ====== PHP RFC: StackFrame class ====== | ||
- | * Version: 1.0 | + | * Version: 1.1 |
* Date: 2020-07-07 | * Date: 2020-07-07 | ||
* Author: Michał Marcin Brzuchalski, | * Author: Michał Marcin Brzuchalski, | ||
Line 28: | Line 28: | ||
final class StackFrame implements ArrayAccess | final class StackFrame implements ArrayAccess | ||
{ | { | ||
- | public | + | public string $file; |
| | ||
- | public | + | public int $line; |
| | ||
- | public | + | public ?string $function; |
| | ||
- | public | + | public ?string $class; |
| | ||
- | public | + | public ?object $object; |
- | public | + | public ?string $object_class; |
- | public | + | public ?\Closure $closure; |
| | ||
- | public | + | public array $args; |
| | ||
public static function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, | public static function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, |
rfc/stack-frame-class.txt · Last modified: 2020/08/04 08:00 by brzuchal