Skip to content

MIR1704

ImpureFunctionCall

A @pure function calls a non-pure function.

<?php
/** @pure */ function f(){ return time(); }

Call only pure functions, or drop @pure.