Hacker News new | ask | show | jobs
by tonyedgecombe 2038 days ago
Is there any way to force the use of ===
3 comments

Write `===` when you want to compare things.

There is no way to disable the `==` operator or make it do strict comparisons (yet)

    declare(scrict_types=1);
That isn’t what that does.
Enforce by code style tools.