diff --git a/tests/compiler/var_convert/002.phpt b/tests/compiler/var_convert/002.phpt index 277fe7d2..b82c480e 100644 --- a/tests/compiler/var_convert/002.phpt +++ b/tests/compiler/var_convert/002.phpt @@ -8,8 +8,13 @@ if (PHP_OS_FAMILY != 'Linux') { } --FILE-- write('world'); +#[ExtensionProvider(Type::Stream)] +final class StreamExtensions +{ + public static function writeTest(stream $stream): void + { + $stream->write('world'); + } } function main()