top | item 47020618

(no title)

rafark | 15 days ago

Correct. Every char outside of a php tag is treated as output, like in a templating engine. So if you start with spaces in a non template file (class definition etc) the spaces will be sent as output which messes up the http response.

Id love to have a dedicated file extension for source files only, like .p or something that disables the php tags because in this day and age the vast majority of php files aren’t templates

discuss

order

No comments yet.