You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2024. It is now read-only.
I found that if an associative array is returned from a foreign function and passed into json_encode, it returns an array instead of an object unless I add JSON_FORCE_OBJECT. This is not the correct behaviour. Associative arrays are supposed to encode into json objects.
Hello,
I found that if an associative array is returned from a foreign function and passed into
json_encode, it returns an array instead of an object unless I addJSON_FORCE_OBJECT. This is not the correct behaviour. Associative arrays are supposed to encode into json objects.