call_user_function_ex() affects zval value

From: Date: Thu, 17 Dec 2015 21:52:47 +0000
Subject: call_user_function_ex() affects zval value
Groups: php.internals 
Request: Send a blank email to internals+get-89835@lists.php.net to get a copy of this message
Hi, I'm working on PHP7 compatibility for an extension (which I didn't write). I discovered an issue with a call like this: call_user_function_ex(EG(function_table), NULL, zval, &retval, 5, params, 0, NULL); When zval refers to a [object, string] array, its value is different after this call. I haven't seen this issue when zval is a string. I realize the context probably matters here, but I'm having trouble narrowing down what could be doing this. Any suggestions on how to debug this? Thanks, Adam

« previous php.internals (#89835) next »