It appears that the implementation of
declare was a little buggy before PHP 7.0. The declare statement is only supposed to affect the file it is in, and therefore you must add
declare(ticks=1) on each file. The existing usage was buggy and was "fixed" in PHP 7.0.
After some research, it looks like there's a comment on this in the