Utilizing .NET object with multiple array operators
1 post
• Page 1 of 1
Utilizing .NET object with multiple array operators
Hi there,
In my project I encounter a .NET object containing multiple array operators:
When trying to convert this object using php/phalanger, I always end up with the second operator being triggered; when I perform var_dump(array_keys($obj)) this yields numeric keys only.
How can I trigger the first operator instead of the second?
In my project I encounter a .NET object containing multiple array operators:
- Code: Select all
public virtual Object this[string fieldName]
public virtual Object this[int fieldIndex]
When trying to convert this object using php/phalanger, I always end up with the second operator being triggered; when I perform var_dump(array_keys($obj)) this yields numeric keys only.
How can I trigger the first operator instead of the second?
- tommy2d
- Posts: 1
- Joined: January 2nd, 2016, 3:34 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests