/PHP-5.6/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_bindcolumn.phpt | 45 printf("[005] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 50 … printf("[006] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n", 85 printf("[010] Fetch bound and fetch assoc differ - column 'id', bound: %s/%s, assoc: %s/%s\n", 90 … printf("[011] Fetch bound and fetch assoc differ - column 'label', bound: %s/%s, assoc: %s/%s\n",
|
H A D | pdo_mysql_fetch_both.phpt | 22 $assoc = $stmt->fetch(PDO::FETCH_ASSOC); 27 $computed_both = array_merge($num, $assoc);
|
/PHP-5.6/ext/json/ |
H A D | JSON_parser.h | 38 …t parse_JSON(JSON_parser jp, zval *z, unsigned short utf16_json[], int length, int assoc TSRMLS_DC) in parse_JSON() 40 return parse_JSON_ex(jp, z, utf16_json, length, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0 TSRMLS_CC); in parse_JSON()
|
H A D | php_json.h | 78 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, lon… in php_json_decode() argument 80 …php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth TSRMLS_… in php_json_decode()
|
H A D | README | 19 mixed json_decode ( string json, [bool assoc] ) 22 When assoc is given, and evaluates to TRUE, json_decode() will return
|
H A D | JSON_parser.c | 392 static void attach_zval(JSON_parser jp, int up, int cur, smart_str *key, int assoc TSRMLS_DC) in attach_zval() 404 if (!assoc) in attach_zval() 445 int assoc = options & PHP_JSON_OBJECT_AS_ARRAY; in parse_JSON_ex() local 552 if (!assoc) { in parse_JSON_ex() 608 if (!assoc) { in parse_JSON_ex() 617 attach_zval(jp, jp->top - 1, jp->top, &key, assoc TSRMLS_CC); in parse_JSON_ex() 645 attach_zval(jp, jp->top - 1, jp->top, &key, assoc TSRMLS_CC); in parse_JSON_ex() 697 if (!assoc) { in parse_JSON_ex()
|
H A D | json.c | 63 ZEND_ARG_INFO(0, assoc) 835 zend_bool assoc = 0; /* return JS objects as PHP objects by default */ in PHP_FUNCTION() local 839 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|bll", &str, &str_len, &assoc, &depth, &opt… in PHP_FUNCTION() 850 if (assoc) { in PHP_FUNCTION()
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | rsort_variation9.phpt | 18 // numeric assoc. only array 21 // two-dimensional assoc. and default key array 26 // numeric assoc. and default key array 29 // mixed assoc. array 32 // assoc. only multi-dimensional array
|
H A D | 006.phpt | 17 /* numerical assoc indices */ 21 /* assoc indices */
|
H A D | array_intersect_assoc_variation6.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr2' ar… 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr2 argument ***\n"; 83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_intersect_variation6.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr2' argument 16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr2 argument ***\n"; 80 *** Testing array_intersect() : assoc array with diff keys to $arr2 argument ***
|
H A D | array_intersect_assoc_variation5.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff keys for 'arr1' ar… 17 echo "*** Testing array_intersect_assoc() : assoc array with diff keys to \$arr1 argument ***\n"; 83 *** Testing array_intersect_assoc() : assoc array with diff keys to $arr1 argument ***
|
H A D | array_intersect_variation5.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff keys for 'arr1' argument 16 echo "*** Testing array_intersect() : assoc array with diff keys to \$arr1 argument ***\n"; 80 *** Testing array_intersect() : assoc array with diff keys to $arr1 argument ***
|
H A D | array_merge_variation9.phpt | 24 echo "\n-- Merge an array made up of referenced variables to an assoc. array --\n"; 40 -- Merge an array made up of referenced variables to an assoc. array --
|
H A D | array_intersect_assoc_variation7.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr1' … 17 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr1 argument ***\n"; 94 *** Testing array_intersect_assoc() : assoc array with diff values to $arr1 argument ***
|
H A D | array_intersect_assoc_variation8.phpt | 2 Test array_intersect_assoc() function : usage variations - assoc array with diff values for 'arr2' … 17 echo "*** Testing array_intersect_assoc() : assoc array with diff values to \$arr2 argument ***\n"; 94 *** Testing array_intersect_assoc() : assoc array with diff values to $arr2 argument ***
|
H A D | array_intersect_variation7.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff values for 'arr1' argume… 16 echo "*** Testing array_intersect() : assoc array with diff values to \$arr1 argument ***\n"; 91 *** Testing array_intersect() : assoc array with diff values to $arr1 argument ***
|
H A D | array_intersect_variation8.phpt | 2 Test array_intersect() function : usage variations - assoc array with diff values for 'arr2' argume… 16 echo "*** Testing array_intersect() : assoc array with diff values to \$arr2 argument ***\n"; 91 *** Testing array_intersect() : assoc array with diff values to $arr2 argument ***
|
H A D | array_unique_variation4.phpt | 15 echo "*** Testing array_unique() : assoc. array with diff. values to \$input argument ***\n"; 69 *** Testing array_unique() : assoc. array with diff. values to $input argument ***
|
H A D | array_unique_variation3.phpt | 15 echo "*** Testing array_unique() : assoc. array with diff. keys passed to \$input argument ***\n"; 69 *** Testing array_unique() : assoc. array with diff. keys passed to $input argument ***
|
H A D | array_combine_variation5.phpt | 17 echo "*** Testing array_combine() : assoc array with diff values to both \$keys and \$values argume… 83 *** Testing array_combine() : assoc array with diff values to both $keys and $values argument ***
|
H A D | array_combine_variation4.phpt | 17 echo "*** Testing array_combine() : assoc array with diff keys to both \$keys and \$values argument… 91 *** Testing array_combine() : assoc array with diff keys to both $keys and $values argument ***
|
H A D | array_merge_recursive_variation4.phpt | 15 echo "*** Testing array_merge_recursive() : assoc. array with diff. keys to \$arr1 argument ***\n"; 81 *** Testing array_merge_recursive() : assoc. array with diff. keys to $arr1 argument ***
|
H A D | array_merge_recursive_variation5.phpt | 15 echo "*** Testing array_merge_recursive() : assoc. array with diff. values to \$arr1 argument ***\n… 81 *** Testing array_merge_recursive() : assoc. array with diff. values to $arr1 argument ***
|
/PHP-5.6/ext/date/tests/ |
H A D | localtime_error.phpt | 19 $assoc = true; 21 var_dump( localtime($timestamp, $assoc, $extra_arg) );
|