PHP_FORK_RETURN_METHOD = -2
PHP_FORK_VOID_METHOD = -1
When calling a pseudo-thread method we try to emulate the behaviour of a real thread; we need to know if the method to emulate can return any value or is a void method.