Make test compatible with PHP 8
Make test compatible with PHP 8

php/pecl-file_formats-yaml,bd808/pecl-file_formats-yaml,php/pecl-file_formats-yaml,bd808/pecl-file_formats-yaml,bd808/pecl-file_formats-yaml,php/pecl-file_formats-yaml,php/pecl-file_formats-yaml,bd808/pecl-file_formats-yaml