It enforces scalar types (string, int, etc) at runtime if you enable strict mode. There's also static analysis tools like PHPStan and Psalm that will flag issues at build time.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: