Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there any way to force the use of ===


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: