PHP7 register_tick_function / declare affects only file it is declared in? I used to profile in php 5.6< using register_tick_function/declare("ticks"), but inside PHP7 i always get ticks only for lines i explicitly mentioned declare construction file in, which doesnt allow me to profile whole application as php5.6 and lower allowed me.
I tried to tamper with op_cache but didnt help to any avail.
inspiration: https://kpayne.me/2013/12/24/write-your-own-code-profiler-in-php/