My problem is this...
In PHP, when you call a custom function it seems to stop whatever is currently happening.
ie:
Code: Select all
do_this($test);
print("Hello!");
tl;dr: Is there a way I can call a function, and not have it stop doing whatever it is currently doing.
EDIT: Inside the function there IS a while loop that will go on until something happens to it.
Also, it seems I need a way to multithread these processes... or start new instances of them... or something... halp!