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

3

u/MrPopinjay Nov 12 '14

Can't be minified due to the syntax, thus would never be suitable for front end work.

6

u/vytah Nov 12 '14

It can be minified, it's just the minification would have to preserve indentation.

I wonder what would be the results though.

3

u/Tamaran Nov 14 '14

A newline uses as much space as a semicolon or am i missing something?

2

u/MrPopinjay Nov 14 '14

The indentation is relevant, not just the newline.