SideEffect
in package
FinalYes
Table of Contents
Constants
- INPUT_OUTPUT : mixed = 'input_output'
- fwrite, unlink.
- MAYBE : mixed = 'maybe_has_side_effects'
- code might have side-effects, but we can't tell for sure.
- PROCESS_EXIT : mixed = 'process_exit'
- die, exit, throw.
- SCOPE_POLLUTION : mixed = 'scope_pollution'
- class definition, func definition, include, require, global var, unset, goto
- STANDARD_OUTPUT : mixed = 'standard_output'
- echo, print.
- UNKNOWN_CLASS : mixed = 'unknown_class'
- code for sure has side-effects, we don't have enough information to classify it.
Methods
- __construct() : mixed
Constants
INPUT_OUTPUT
fwrite, unlink.
public
mixed
INPUT_OUTPUT
= 'input_output'
..
MAYBE
code might have side-effects, but we can't tell for sure.
public
mixed
MAYBE
= 'maybe_has_side_effects'
PROCESS_EXIT
die, exit, throw.
public
mixed
PROCESS_EXIT
= 'process_exit'
SCOPE_POLLUTION
class definition, func definition, include, require, global var, unset, goto
public
mixed
SCOPE_POLLUTION
= 'scope_pollution'
STANDARD_OUTPUT
echo, print.
public
mixed
STANDARD_OUTPUT
= 'standard_output'
UNKNOWN_CLASS
code for sure has side-effects, we don't have enough information to classify it.
public
mixed
UNKNOWN_CLASS
= 'unknown_class'
Methods
__construct()
private
__construct() : mixed