HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-213 days agoWhy make it complicated?imagemessage-square122fedilinkarrow-up1369arrow-down139file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1330arrow-down1imageWhy make it complicated?HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-213 days agomessage-square122fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squaredan@upvote.aulinkfedilinkarrow-up4·13 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!