1.2.1021. Real Functions¶
Real functions, not methods.
Function keywords, that are not in a class, trait, interface, nor a closure <https://www.php.net/`closure>`_.
<?php
// a real Function
function realFunction () {}
// Those are not real functions
function ($closure) { }
class foo {
function isAClassMethod() {}
}
interface fooi {
function isAnInterfaceMethod() {}
}
trait foot {
function isATraitMethod() {}
}
?>
1.2.1021.1. Connex PHP features¶
1.2.1021.1.1. Specs¶
Short name |
Functions/RealFunctions |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |