HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-215 hours agoWhy make it complicated?lemmy.mlimagemessage-square83fedilinkarrow-up1267arrow-down120file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1247arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-215 hours agomessage-square83fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squaredanAlinkfedilinkarrow-up4·13 hours 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!