PHP TypeLang Help

@phan-side-effect-free

The @phan-side-effect-free tag declares a function or method as free of side effects.

"@phan-side-effect-free" [ <Description> ]

Parsing a @phan-side-effect-free tag produces a PhanSideEffectFreeTag instance. Being a pure marker, it adds nothing beyond the $name and optional $description every Tag already carries.

final class PhanSideEffectFreeTag extends FlagTag {}

Defined by Phan.

08 July 2026