Question from the PHP - Fundamentals test

What can we say about the following code?

Medium

Which statements are true about the following code ?

/**
* @param    string||int    $mixedVar
* @return    int
*/ 
function someMethod($mixedVar): int
{
    return $mixedVar + 99;
}
Author: nicolasStatus: Published(Update)Question passed 494 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!