1.2.1231. Typehints¶
List of all the types (classes or scalar) used in Typehinting.
<?php
// here, array, myObject and string are all typehints.
function foo(array $array, myObject $x, string $string) {
}
?>
See also Type declarations.
1.2.1231.1. Specs¶
Short name |
Functions/Typehints |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Features |
typehint |
Available in |