Skip to content

Fails when passing php-object to the function #11

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions