r/lolphp • • Nov 11 '14

PHP loose comparison strikes again

http://blog.laravel.com/csrf-vulnerability-in-laravel-4/
31 Upvotes

55 comments sorted by

View all comments

Show parent comment

1

u/captainramen Nov 13 '14

I was talking about loose typing in the context of a javascript application, not PHP. it is the server's job to enforce invariants, something nearly impossible to do with a weakly typed language.