Searched refs:arr (Results 1 - 25 of 30) sorted by relevance

12

/PHP_TRUNK/ext/phar/tests/cache_list/files/
H A Dwrite5.phar.inc13 $arr = $phar->buildFromDirectory($d);
14 ksort($arr);
15 var_dump($arr);
17 $arr = array();
19 $arr[$name] = $file->getContent();
21 ksort($arr);
22 foreach ($arr as $name => $content) {
H A Dwrite6.phar.inc13 $arr = $phar->buildFromIterator(new RecursiveDirectoryIterator($d, RecursiveDirectoryIterator::SKIP_DOTS),$d);
14 $arr = $phar->buildFromDirectory($d);
15 ksort($arr);
16 var_dump($arr);
18 $arr = array();
20 $arr[$name] = $file->getContent();
22 ksort($arr);
23 foreach ($arr as $name => $content) {
/PHP_TRUNK/tests/lang/
H A D023-1.inc261 $arr[$i]=$i;
267 echo $arr[$i++]."<br>\n";
/PHP_TRUNK/ext/intl/doc/
H A Dcollator_api.php142 * @param array $arr Array of strings to sort
151 public function sort( $arr, $sort_flags ) {}
158 * @param array $arr Array of strings to sort
165 public function asort( $arr, $sort_flags ) {}
173 * @param array $arr Array of strings to sort
177 public function sortWithSortKeys( $arr ) {}
286 * @param array $arr Array of strings to sort.
295 function collator_sort( $coll, $arr, $sort_flags ) {}
301 * @param array $arr Array of strings to sort.
308 function collator_asort( $coll, $arr,
[all...]
/PHP_TRUNK/ext/sockets/
H A Dconversions.h60 size_t calculate_scm_rights_space(const zval *arr, ser_context *ctx);
61 void from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx);
H A Dconversions.c215 static unsigned from_array_iterate(const zval *arr, argument
227 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) {
827 static void from_zval_write_control(const zval *arr, argument
855 from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx);
859 from_zval_write_aggregation(arr, (char *)&type, descriptor_type, ctx);
873 /* arr must be an array at this point */
874 if ((data_elem = zend_hash_str_find(Z_ARRVAL_P(arr), "data", sizeof("data") - 1)) == NULL) {
902 from_zval_write_aggregation(arr, (char*)CMSG_DATA(cmsghdr), descriptor_data, ctx);
906 static void from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
919 if (Z_TYPE_P(arr) !
1092 from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
1330 calculate_scm_rights_space(const zval *arr, ser_context *ctx) argument
1376 from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx) argument
[all...]
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c176 const apr_array_header_t *arr; local
186 arr = apr_table_elts(ctx->r->headers_in);
188 APR_ARRAY_FOREACH_OPEN(arr, key, val)
200 const apr_array_header_t *arr; local
210 arr = apr_table_elts(ctx->r->headers_out);
212 APR_ARRAY_FOREACH_OPEN(arr, key, val)
441 const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_env); local
447 APR_ARRAY_FOREACH_OPEN(arr, key, val)
461 arr = apr_table_elts(((php_struct *) SG(server_context))->r->headers_in);
462 APR_ARRAY_FOREACH_OPEN(arr, ke
[all...]
H A Dphp_apache.h61 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \
65 elts = (apr_table_entry_t *) arr->elts; \
66 for (i = 0; i < arr->nelts; i++) { \
H A Dsapi_apache2.c273 const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env); local
277 APR_ARRAY_FOREACH_OPEN(arr, key, val)
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_class.c94 ZEND_ARG_ARRAY_INFO( 1, arr, 0 )
/PHP_TRUNK/Zend/
H A Dzend_gc.c103 zend_array *arr = (zend_array *) ref; local
107 zend_hash_num_elements(arr));
1107 zend_array *arr = (zend_array*)p; local
1109 GC_TYPE(arr) = IS_NULL;
1110 zend_hash_destroy(arr);
H A Dzend_variables.c41 zend_array *arr = (zend_array*)p; local
42 ZEND_ASSERT(GC_REFCOUNT(arr) <= 1);
43 zend_array_destroy(arr);
93 zend_array *arr = (zend_array*)p; local
95 zend_array_destroy(arr);
H A Dzend_types.h105 zend_array *arr; member in union:_zend_value
523 #define Z_ARR(zval) (zval).value.arr
H A Dzend_operators.c589 zval arr; local
594 ZVAL_ARR(&arr, obj_ht);
599 ZVAL_ARR(&arr, zend_array_dup(obj_ht));
602 ZVAL_COPY_VALUE(op, &arr);
604 ZVAL_ARR(&arr, zend_array_dup(obj_ht));
606 ZVAL_COPY_VALUE(op, &arr);
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c1062 zval arr; local
1075 array_init(&arr);
1078 ZVAL_COPY_VALUE(curr_val, &arr);
1080 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &cur);
1082 ZVAL_COPY_VALUE(&arr, curr_val);
1084 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &val);
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c348 zval *arr; local
352 if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name))) != NULL) {
353 add_next_index_zval(arr, &tmp);
355 zval arr; local
357 array_init(&arr);
358 add_next_index_zval(&arr, &tmp);
359 add_assoc_zval(return_value, (char*)val->name, &arr); local
H A Dphp_encoding.c1233 zval rv, arr, val; local
1245 array_init(&arr);
1247 add_assoc_zval(&arr, name, any);
1249 add_next_index_zval(&arr, any);
1251 any = &arr;
1275 array_init(&arr);
1276 add_assoc_zval(&arr, name, &val);
1277 any = &arr;
1289 array_init(&arr);
1290 add_next_index_zval(&arr, e
1414 zval *redo_any = NULL, rv, arr; local
1585 zval arr; local
1589 set_zval_property(ret, (char*)trav->name, &arr); local
1598 set_zval_property(ret, (char*)trav->name, &arr); local
[all...]
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c825 HashTable *arr = HASH_OF(ele_value); local
828 ZEND_HASH_FOREACH_VAL(arr, data) {
907 zval* arr = NULL; local
914 &arr) == FAILURE)
921 hash_arr = HASH_OF( arr );
1397 static void array_cleanup( char* arr[] , int arr_size)
1401 if( arr[i*2] ){
1402 efree( arr[i*2]);
1405 efree(arr);
1531 zval* arr local
[all...]
/PHP_TRUNK/ext/standard/
H A Dphp_string.h138 PHPAPI void php_implode(const zend_string *delim, zval *arr, zval *return_value);
H A Dstring.c1207 PHPAPI void php_implode(const zend_string *delim, zval *arr, zval *return_value) argument
1216 numelems = zend_hash_num_elements(Z_ARRVAL_P(arr));
1222 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), tmp) {
1230 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), tmp) {
1289 zval *arg1, *arg2 = NULL, *arr; local
1311 arr = arg1;
1315 arr = arg1;
1318 arr = arg2;
1325 php_implode(delim, arr, return_value);
H A Dbasic_functions.c5805 static void php_simple_ini_parser_cb(zval *arg1, zval *arg2, zval *arg3, int callback_type, zval *arr) argument
5817 zend_symtable_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), &element);
5831 if ((find_hash = zend_hash_index_find(Z_ARRVAL_P(arr), key)) == NULL) {
5833 find_hash = zend_hash_index_update(Z_ARRVAL_P(arr), key, &hash);
5836 if ((find_hash = zend_hash_find(Z_ARRVAL_P(arr), Z_STR_P(arg1))) == NULL) {
5838 find_hash = zend_hash_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), &hash);
5865 static void php_ini_parser_cb_with_sections(zval *arg1, zval *arg2, zval *arg3, int callback_type, zval *arr) argument
5869 zend_symtable_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), &BG(active_ini_file_section));
5876 active_arr = arr;
/PHP_TRUNK/ext/wddx/
H A Dwddx.c526 static void php_wddx_serialize_array(wddx_packet *packet, zval *arr) argument
536 target_hash = HASH_OF(arr);
558 if (ent == arr) {
/PHP_TRUNK/main/
H A Dphp_variables.c244 static zend_bool add_post_var(zval *arr, post_var_data_t *var, zend_bool eof) argument
284 php_register_variable_safe(var->ptr, val, new_vlen, arr);
292 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof) argument
298 while (add_post_var(arr, vars, eof)) {
321 zval *arr = (zval *) arg; local
335 if (SUCCESS != add_post_vars(arr, &post_data, 0)) {
347 add_post_vars(arr, &post_data, 1);
529 zval arr, argc, tmp; local
537 array_init(&arr);
544 if (zend_hash_next_index_insert(Z_ARRVAL(arr),
[all...]
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c1738 zval arr; local
1745 array_init(&arr);
1750 add_next_index_zval(&arr, &zcert);
1754 ZVAL_NULL(&arr);
1757 php_stream_context_set_option(PHP_STREAM_CONTEXT(stream), "ssl", "peer_certificate_chain", &arr); local
1758 zval_dtor(&arr);
/PHP_TRUNK/build/
H A Dorder_by_dep.awk58 function count(arr, n, i)
61 for (i in arr)

Completed in 98 milliseconds

12