hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

hphpi falls in segfault with call_user_func_async

Open antmat opened this issue 15 years ago • 3 comments

steps for reproducing

  1. create class with a public function
  2. register this function as a error handler
  3. call call_user_func_async
  4. call end_user_func_async

                                    

antmat avatar Apr 06 '11 17:04 antmat

It seems that in hphp everything is ok

antmat avatar Apr 06 '11 17:04 antmat

I've fixed the cause of the segfault, but the code still doesn't work since the Debug class isn't imported into the fiber scope for the async function.

scottmac avatar Apr 06 '11 22:04 scottmac

HPHPi was removed from the code base in June 2012 and is no longer supported. For HPHPi users, we recommend that you upgrade to HHVM.

paroski avatar Oct 12 '12 22:10 paroski