Menu

← Back to all error identifiers

Error Identifiers: impure.*

There are 20 error identifiers in the impure.* group:

  • Pure function contains HTML output between PHP tags.
  • Pure function uses die, which terminates the process as a side effect.
  • Pure function uses echo, which produces output as a side effect.
  • Pure function uses eval, which can execute arbitrary code with side effects.
  • Pure function uses exit, which terminates the process as a side effect.
  • Pure function calls an impure function.
  • Pure function accesses a global variable via the global keyword.
  • Pure function uses include, which reads and executes a file.
  • Pure function calls an impure method.
  • Pure function instantiates a class with an impure constructor.
  • Pure function uses print, which produces output as a side effect.
  • Pure function assigns a property, which is a side effect.
  • Pure function creates a reference to a property, which may cause side effects.
  • Pure function unsets a property, which modifies object state.
  • Pure function uses require, which reads and executes a file.
  • Pure function uses a static variable, which persists state between calls.
  • Pure function accesses a static property, which is shared mutable state.
  • Pure function accesses a superglobal variable.
  • Pure function uses yield, which creates stateful generator behavior.
  • Pure function uses yield from, which creates stateful generator behavior.
Theme
A
© 2026 PHPStan s.r.o.