If count($arr2)
is 26
if(count($arr1) === count($arr2) === 26)
evaluates to
if(count($arr1) === True)
which would then fail.
You need to perform two logic checks and check they both evaluate to true
3
solved using count in if statement and comparing with its returned value doesn’t work [closed]