Referencing Previous Phalanger Variables Passed From C#
Posted: October 5th, 2014, 5:25 pm
Hi there,
I have a bit of code that runs like this in a C# class:
GetResponse and TestResult are functions written in PHP and compiled using Pure Mode Phalanger.
The variables appear to pass successfully with one issue. Within PhalangerClass.TestResult, when I scope the $response variable, the variable consists of a binary component and a string component. I wish to reference the string component of the variable as the binary component is not compatible with the TestResult function.
Is there a way to accomplish this?
Thanks!
I have a bit of code that runs like this in a C# class:
- Code: Select all
dynamic response = PhalangerClass.GetResponse(variable);
dynamic testResult = PhalangerClass.TestResult(response);
GetResponse and TestResult are functions written in PHP and compiled using Pure Mode Phalanger.
The variables appear to pass successfully with one issue. Within PhalangerClass.TestResult, when I scope the $response variable, the variable consists of a binary component and a string component. I wish to reference the string component of the variable as the binary component is not compatible with the TestResult function.
Is there a way to accomplish this?
Thanks!