MCPcopy Create free account
hub / github.com/VKCOM/kphp / analyze_foreach

Method analyze_foreach

compiler/class-assumptions.cpp:392–395  ·  view source on GitHub ↗

assume that $a is an instance of T if $arr is T[] in 'foreach($arr as $a)'

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

assume_class_of_exprFunction · 0.85
assumption_add_for_varFunction · 0.85
get_inner_if_arrayMethod · 0.80

Tested by

no test coverage detected