HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 month agoWhy make it complicated?lemmy.mlimagemessage-square123fedilinkarrow-up1369arrow-down138file-textcross-posted to: [email protected]
arrow-up1331arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-21 month agomessage-square123fedilinkfile-textcross-posted to: [email protected]
minus-squaredan@upvote.aulinkfedilinkarrow-up4·1 month agoIt 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.
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.
so, no. good catch OP!