What does the @param mean when creating a class? As far as I understand it is used to tell the script what kind of datatype the variables are and what kind of value a functi
I know this is old but just for reference, the answer to the second part of the question is now, PHP7.
PHP7
// this function accepts and returns an int function age(int $age): int{ return 18; }