= 0; $i--) { ob_end_flush(); if ($handlers[$i] === $callback) { break; } } } // $this->found = found is not good. If this function is triggered multiple times, then may override "true" to "false" $this->found = $found == true ? true : $this->found; return $found; } function obFound(): bool { return $this->found; } }