Open

Description
Steps to reproduce:
- Create function with non-object parameter, or with use of non-object parameter
- 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