Lines Matching refs:myht
40 HashTable *myht = Z_ARRVAL_P(val); in php_json_determine_array_type() local
42 i = myht ? zend_hash_num_elements(myht) : 0; in php_json_determine_array_type()
47 if (HT_IS_PACKED(myht) && HT_IS_WITHOUT_HOLES(myht)) { in php_json_determine_array_type()
52 ZEND_HASH_FOREACH_KEY(myht, index, key) { in php_json_determine_array_type()
131 HashTable *myht, *prop_ht; in php_json_encode_array() local
134 myht = Z_ARRVAL_P(val); in php_json_encode_array()
138 prop_ht = myht = zend_get_properties_for(val, ZEND_PROP_PURPOSE_JSON); in php_json_encode_array()
142 if (myht && GC_IS_RECURSIVE(myht)) { in php_json_encode_array()
149 PHP_JSON_HASH_PROTECT_RECURSION(myht); in php_json_encode_array()
159 i = myht ? zend_hash_num_elements(myht) : 0; in php_json_encode_array()
166 ZEND_HASH_FOREACH_KEY_VAL_IND(myht, index, key, data) { in php_json_encode_array()
220 PHP_JSON_HASH_UNPROTECT_RECURSION(myht); in php_json_encode_array()
227 PHP_JSON_HASH_UNPROTECT_RECURSION(myht); in php_json_encode_array()
472 HashTable* myht = Z_OBJPROP_P(val); in php_json_encode_serializable_object() local
476 if (myht && GC_IS_RECURSIVE(myht)) { in php_json_encode_serializable_object()
484 PHP_JSON_HASH_PROTECT_RECURSION(myht); in php_json_encode_serializable_object()
497 PHP_JSON_HASH_UNPROTECT_RECURSION(myht); in php_json_encode_serializable_object()
509 PHP_JSON_HASH_UNPROTECT_RECURSION(myht); in php_json_encode_serializable_object()
516 PHP_JSON_HASH_UNPROTECT_RECURSION(myht); in php_json_encode_serializable_object()
521 PHP_JSON_HASH_UNPROTECT_RECURSION(myht); in php_json_encode_serializable_object()