HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-210 days agoWhy make it complicated?lemmy.mlexternal-linkmessage-square122fedilinkarrow-up1354arrow-down138file-text
arrow-up1316arrow-down1external-linkWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-210 days agomessage-square122fedilinkfile-text
minus-squaredan@upvote.aulinkfedilinkarrow-up4·10 days 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!