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/21 04:46] – removed immutability on properties brzuchal | rfc:stack-frame-class [2020/07/21 05:12] – $file and $line nullability brzuchal | ||
---|---|---|---|
Line 28: | Line 28: | ||
final class StackFrame implements ArrayAccess | final class StackFrame implements ArrayAccess | ||
{ | { | ||
- | public string $file; | + | public |
| | ||
- | public int $line; | + | public |
| | ||
public ?string $function; | public ?string $function; | ||
Line 46: | Line 46: | ||
public static function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, | public static function getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, | ||
- | public function getFile(): string {} | + | public function getFile(): |
- | public function getLine(): int {} | + | public function getLine(): |
public function getFunction(): | public function getFunction(): |
rfc/stack-frame-class.txt · Last modified: 2020/08/04 08:00 by brzuchal