You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, there's a memory leak in PHP 7.1.* with the DYNAMIC_MALLOC_SPRINTF macro used in the IS_OBJECT branch of safely_copy_argument_zval_as_scalar. I tried a few things but couldn't get to the bottom of it. As a workaround, for PHP 7.1.* I just return the string (object) rather than the actual object type, but it would be nice if we could get to the bottom of this.
Note, the $client->getRange('foo', 0, 2); causes it to fail in the Predis test, because the argument is an object, so that's a good testcase. Script to reproduce in example.php:
For some reason, there's a memory leak in PHP 7.1.* with the
DYNAMIC_MALLOC_SPRINTF
macro used in theIS_OBJECT
branch ofsafely_copy_argument_zval_as_scalar
. I tried a few things but couldn't get to the bottom of it. As a workaround, for PHP 7.1.* I just return the string(object)
rather than the actual object type, but it would be nice if we could get to the bottom of this.Note: whilst tests only show failures after PHP 7.1.17+ this is because 7.1.16 and below did not have
REPORT_EXIT_STATUS=1
as default.The text was updated successfully, but these errors were encountered: