1. Home
  2. Docs
  3. PHP Style Guide
  4. Whitespace in Files

Whitespace in Files

No whitespace can precede the opening PHP tag or follow the closing PHP tag. Output is buffered, so whitespace in your files can cause output to begin before CodeIgniter outputs its content, leading to errors and an inability for CodeIgniter to send proper headers.

Was this article helpful to you? Yes No

How can we help?