Skip to content

Created a "check" to scan for bad open & close PHP tags in PHP files#1

Open
zerojarvis wants to merge 2 commits intobluehawk:masterfrom
zerojarvis:master
Open

Created a "check" to scan for bad open & close PHP tags in PHP files#1
zerojarvis wants to merge 2 commits intobluehawk:masterfrom
zerojarvis:master

Conversation

@zerojarvis
Copy link

This scans through all CLASSES subfolders across application & modules to check if PHP files

  1. start with TAB or SPACE before "<?php" tag.
  2. ends with closing "?>" tag

This is all in effort to reduce/eliminate extra HTML characters send.
(especially of concern when trying to use Kohana to serve up raw binary data like in Media Controllers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant