1.2.1362. Used Functions

The functions below are used in the code.

A function is used in the code when it is called literally, or as a string callback.

<?php

function used() {}
// The 'unused' function is defined but never called
function unused() {}

// The 'used' function is called at least once
used();

// The 'used' function is called as a callback
array_filter($array, 'used');

?>

1.2.1362.1. Specs

Short name

Functions/UsedFunctions

Rulesets

All

Exakat since

0.8.4

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

Very high

Features

function, unused

Available in

Entreprise Edition, Exakat Cloud