Skip to content


Comment at end of file causes PHP Notice #9

strathmeyer opened this Issue · 1 comment

2 participants


If the last file included by smartoptimizer ends with an end of line comment (i.e., a // style comment), and the file doesn't include any carriage returns after the comment, then minifiers/js.php will give an "Uninitialized string offset" notice.


I have merged other forks to update using Dean Edwards js packer find it here
Find the fork at

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.