zval must not be converted in place without duplication