Skip to content

Conversation

@juniwalk
Copy link

@juniwalk juniwalk commented Sep 3, 2015

When template file is not in valid UTF-8 format, PHP warning is raised:

substr_count(): Length value 1 exceeds string length

This PR fixes this warning and let's Latte throw CompileException as it is expected.

@juniwalk
Copy link
Author

I see you had better fix. Thanks for fixing this.

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