Source: medium.com

Comparing Values in PHP

Category: PHP

What is the difference between == and ===in PHP? When you have two equal signs in PHP it usually means you’re checking if the two variables have the same value. So as you can see below we have a variable called $ageOne = 10; and another variable called $ageTwo = ‘10’.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners