Great, thanks! 

On Tue, 6 Dec 2022, 10:02 am Michal Prívozník, <mprivozn@redhat.com> wrote:
On 12/6/22 09:41, Simon Fairweather wrote:
> Hi Michal,
>
> There is an issue with keys generated in the function adding null to the
> end of each key, I have created an issue with a patch from Eric at LimeTech.
>
> https://gitlab.com/libvirt/libvirt-php/-/issues/7
> <https://gitlab.com/libvirt/libvirt-php/-/issues/7>
>
> my testing.

Yep, this is a genuine bug. I've merged the fix now.

Michal