1.2.605. Is A Magic Property¶
Mark properties usage when they are actually a magic call.
There is no direct mention of it in the syntax, it has to be checked with the definitions of the class.
<?php
class magicProperty {
public $b;
function __get($name) {
// do something with the value
}
function foo() {
$this->a;
$this->b;
}
}
?>
See also Magic Methods.
1.2.605.1. Connex PHP features¶
1.2.605.1.1. Specs¶
Short name |
Classes/IsaMagicProperty |
Rulesets |
|
Exakat since |
0.12.17 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
High |
Available in |