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

12

/PHP_TRUNK/build/
H A Dorder_by_dep.awk58 function count(arr, n, i)
61 for (i in arr)
/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/Zend/
H A Dzend_gc.c805 zend_array *arr = (zend_array*)p; local
807 GC_TYPE(arr) = IS_NULL;
808 zend_hash_destroy(&arr->ht);
H A Dzend_variables.c41 zend_array *arr = (zend_array*)p; local
43 if (arr != &EG(symbol_table)) {
45 GC_TYPE(arr) = IS_NULL;
46 GC_REMOVE_FROM_BUFFER(arr);
47 zend_array_destroy(&arr->ht);
48 efree_size(arr, sizeof(zend_array));
99 zend_array *arr = (zend_array*)p; local
101 if (arr != &EG(symbol_table)) {
103 GC_TYPE(arr) = IS_NULL;
104 GC_REMOVE_FROM_BUFFER(arr);
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_class.c94 ZEND_ARG_ARRAY_INFO( 1, arr, 0 )
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c830 HashTable *arr = HASH_OF(ele_value); local
833 ZEND_HASH_FOREACH_VAL(arr, data) {
912 zval* arr = NULL; local
919 &arr) == FAILURE)
926 hash_arr = HASH_OF( arr );
1404 static void array_cleanup( char* arr[] , int arr_size)
1408 if( arr[i*2] ){
1409 efree( arr[i*2]);
1412 efree(arr);
1538 zval* arr local
[all...]
/PHP_TRUNK/ext/json/
H A DJSON_parser.c634 zval *arr = &jp->the_zstack[jp->top]; local
636 array_init(arr);
639 ZVAL_COPY_VALUE(z, arr);
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c1569 zval arr; local
1576 array_init(&arr);
1581 add_next_index_zval(&arr, &zcert);
1585 ZVAL_NULL(&arr);
1588 php_stream_context_set_option(PHP_STREAM_CONTEXT(stream), "ssl", "peer_certificate_chain", &arr); local
1589 zval_dtor(&arr);
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c1237 zval rv, arr, val; local
1249 array_init(&arr);
1251 add_assoc_zval(&arr, name, any);
1253 add_next_index_zval(&arr, any);
1255 any = &arr;
1279 array_init(&arr);
1280 add_assoc_zval(&arr, name, &val);
1281 any = &arr;
1293 array_init(&arr);
1294 add_next_index_zval(&arr, e
1418 zval *redo_any = NULL, rv, arr; local
1589 zval arr; local
1593 set_zval_property(ret, (char*)trav->name, &arr); local
1602 set_zval_property(ret, (char*)trav->name, &arr); local
[all...]
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
/PHP_TRUNK/ext/sockets/
H A Dconversions.c215 static unsigned from_array_iterate(const zval *arr, argument
227 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(arr), &pos), i = 1;
229 && (elem = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL;
230 zend_hash_move_forward_ex(Z_ARRVAL_P(arr), &pos), i++) {
826 static void from_zval_write_control(const zval *arr, argument
854 from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx);
858 from_zval_write_aggregation(arr, (char *)&type, descriptor_type, ctx);
872 /* arr must be an array at this point */
873 if ((data_elem = zend_hash_str_find(Z_ARRVAL_P(arr), "data", sizeof("data") - 1)) == NULL) {
901 from_zval_write_aggregation(arr, (cha
905 from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
1091 from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx) argument
1329 calculate_scm_rights_space(const zval *arr, ser_context *ctx) argument
1377 from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx) argument
[all...]
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);
/PHP_TRUNK/ext/standard/
H A Dphp_string.h140 PHPAPI void php_implode(const zend_string *delim, zval *arr, zval *return_value);
/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
285 php_register_variable_safe(var->ptr, val, new_vlen, arr);
293 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof) argument
299 while (add_post_var(arr, vars, eof)) {
317 zval *arr = (zval *) arg; local
331 if (SUCCESS != add_post_vars(arr, &post_data, 0)) {
343 add_post_vars(arr, &post_data, 1);
524 zval arr, argc, tmp; local
532 array_init(&arr);
539 if (zend_hash_next_index_insert(Z_ARRVAL(arr),
[all...]
/PHP_TRUNK/sapi/apache/
H A Dphp_apache.c244 array_header *arr; local
249 arr = table_elts(r->subprocess_env);
250 elts = (table_entry *)arr->elts;
255 for (i=0; i < arr->nelts; i++) {
/PHP_TRUNK/sapi/apache2filter/
H A Dphp_apache.h60 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \
64 elts = (apr_table_entry_t *) arr->elts; \
65 for (i = 0; i < arr->nelts; i++) { \
H A Dphp_functions.c156 const apr_array_header_t *arr; local
162 arr = apr_table_elts(ctx->f->r->headers_in);
164 APR_ARRAY_FOREACH_OPEN(arr, key, val)
176 const apr_array_header_t *arr; local
182 arr = apr_table_elts(ctx->f->r->headers_out);
184 APR_ARRAY_FOREACH_OPEN(arr, key, val)
H A Dsapi_apache2.c231 const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env); local
235 APR_ARRAY_FOREACH_OPEN(arr, key, val)
/PHP_TRUNK/sapi/apache2handler/
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 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 Dsapi_apache2.c274 const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env); local
278 APR_ARRAY_FOREACH_OPEN(arr, key, val)
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c1653 array_header *arr; local
1658 arr = table_elts(r->subprocess_env);
1659 elts = (table_entry *)arr->elts;
1664 for (i=0; i < arr->nelts; i++) {

Completed in 67 milliseconds

12