It is my first question, so hi all..
Is it possible to satisfy this condition?
Where $a and $b are some defined variables
if(!is_numeric($a * $b.'')) { ... }
EDIT: Second conditon
$a * $b can't be INF
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can satisfy the condition with specific values of
$aand$b. For example,$a = $b = 1e200, or$a = 1e400, $b = 0.If the product of
$aand$boverflows to infinity or is a not-a-number, the concatenation with an empty string will produce the stringINForNAN: