Skip to content

Fails when passing php-object to the function #11

@ghost

Description

Steps to reproduce:

  1. Create function with non-object parameter, or with use of non-object parameter
  2. Pass to the function Object type on the interpretator side:
    psv.RunCode(' <?php issue11( new stdClass() ); ?> ');

Expected behaviour:
Type mismatch interpreter exception

Actual behaviour:
Access Violation error

Proposed solution:

  • Prevent php from attempting to convert Object to required argument type

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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