1.2.494. Functions Using Reference

Functions and methods using references in their signature.

<?php

function usingReferences( &$a) {}

class foo {
    public function methodUsingReferences($b, &$c = 1) {}
}
?>

1.2.494.1. Specs

Short name

Functions/FunctionsUsingReference

Rulesets

All, Appinfo, CE

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Features

function, reference

Available in

Entreprise Edition, Community Edition, Exakat Cloud