In my opinion, type juggling is one of PHP’s strengths, but it can also one of PHP’s easily exploitable weaknesses... especially in an API. 😈
Make sure you're using strict comparisons, or you're leaving your app wide open!
In my opinion, type juggling is one of PHP’s strengths, but it can also one of PHP’s easily exploitable weaknesses... especially in an API. 😈
Make sure you're using strict comparisons, or you're leaving your app wide open!