Tick ββfunctions are blocked. PHP generally does not support (initially) parallel execution in the same request. No, you will not be able to handle IO in the background or anything like that.
Which ticks more or less insert tick function calls after each statement. So what you get is something like this:
tick(); $a = 1; tick(); $b = 2; tick();
And he will behave like that :)
Although this is how you understand whether this is really important: when the callback is executed in JS (for example, a timeout / event is fired), then it is also blocked.
NikiC source share