Skip to content

Getting typeinfo of non DISPATCH variant segfaults #16991

Description

@cmb69

Description

The following code:

<?php
com_print_typeinfo(new variant("hello"));

Resulted in this output:

segfault

But I expected this output instead:

Warning: com_print_typeinfo(): Unable to find typeinfo using the parameters supplied

PHP Version

PHP 8.2

Operating System

Windows

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions