rfc:property-capture
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:property-capture [2023/04/15 20:51] – imsop | rfc:property-capture [2023/04/15 20:51] – imsop | ||
---|---|---|---|
Line 94: | Line 94: | ||
$foo = 1; | $foo = 1; | ||
$bar = 2; | $bar = 2; | ||
- | $anon = new class($foo, $ba, $bar) { | + | $anon = new class($foo, $bar, $bar) { |
private $foo; | private $foo; | ||
protected readonly int $bar; | protected readonly int $bar; |
rfc/property-capture.txt · Last modified: 2023/04/23 21:15 by imsop