| 2839 | } |
| 2840 | |
| 2841 | static bool php_json_string_eq(yyjson_val *value, const char *text) { |
| 2842 | return text ? yyjson_is_str(value) && yyjson_get_len(value) == strlen(text) && |
| 2843 | strcmp(yyjson_get_str(value), text) == 0 |
| 2844 | : yyjson_is_null(value); |
| 2845 | } |
| 2846 | |
| 2847 | static size_t php_json_key_count(yyjson_val *obj, const char *name) { |
| 2848 | size_t idx, max, count = 0; |
no outgoing calls
no test coverage detected