final class WriteEffects
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Writes whose values cannot be reconstructed, including writes hidden behind calls.

A wildcard means code can modify the current symbol table. Reference aliases are treated conservatively, never as evidence that a local is undefined.

Constants§

public const ALL = '*'

Every local may be changed.

Methods§

public function assignment(Expr $target, Environment $environment): void

Invalidates possible aliases before the direct target receives its new value.

Parameters

$targetExpr
$environmentEnvironment
Test cases 1
Calls 5
public function arguments(CallLike $call, ?ProgramIndex $index = null): array<string, true>

Writable arguments stay open unless a source declaration excludes reference passing.

Parameters

$callCallLike
$index?ProgramIndex

Returns

array<string, true>
Test cases 2
Called from 1
Calls 4

Private surface 1§

Implementation details, listed for orientation only.

private ?ReferenceEffects $references = null

Test cases 32§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 6
Other tests reaching this symbol 26

Relations§

Instantiated in 8
Method calls 9
Constant reads 3
Type declarations 1