Searched defs:array (Results 1 - 25 of 29) sorted by relevance

12

/PHP_5_5/scripts/dev/generate-phpt/tests/
H A DgtCodeSnippetTest.php10 $array = array('something', 'nothing'); variable
11 $array = gtCodeSnippet::append('loopClose', $array); variable
12 $this->assertEquals($array[2], '}');
/PHP_5_5/ext/intl/collator/
H A Dcollator_sort.c292 zval* array = NULL; local
301 &object, Collator_ce_ptr, &array, &sort_flags ) == FAILURE )
315 hash = HASH_OF( array );
317 /* Convert strings in the specified array from UTF-8 to UTF-16. */
325 /* Sort specified array. */
331 /* Convert strings in the specified array back to UTF-8. */
339 /* {{{ proto bool Collator::sort( Collator $coll, array(string) $arr [, int $sort_flags] )
340 * Sort array using specified collator. }}} */
341 /* {{{ proto bool collator_sort( Collator $coll, array(string) $arr [, int $sort_flags] )
342 * Sort array usin
359 zval* array = NULL; local
[all...]
/PHP_5_5/ext/oci8/
H A Dphp_oci8_int.h221 } array; member in struct:__anon140
H A Doci8.c1533 if (bind->array.elements) {
1534 efree(bind->array.elements);
1537 if (bind->array.element_lengths) {
1538 efree(bind->array.element_lengths);
1541 if (bind->array.indicators) {
1542 efree(bind->array.indicators);
2573 zval *z_statement, *array; local
2583 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz|l", &z_statement, &array, &fetch_mode) == FAILURE) {
2666 /* Only for ocifetchinto BC. In all other cases we return array, not long */
2667 REPLACE_ZVAL_VALUE(&array, return_valu
[all...]
H A Doci8_interface.c125 /* {{{ proto bool oci_bind_array_by_name(resource stmt, string name, array &var, int max_table_length [, int max_item_length [, int type ]])
126 Bind a PHP array to an Oracle PL/SQL type by name */
149 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Maximum array length must be greater than zero");
1382 /* {{{ proto int ocifetchinto(resource stmt, array &output [, int mode])
1383 Fetch a row of result data into an array */
1390 /* {{{ proto int oci_fetch_all(resource stmt, array &output[, int skip[, int maxrows[, int flags]]])
1391 Fetch all rows of result data into an array */
1394 zval *z_statement, *array, *element, *tmp; local
1402 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz/|lll", &z_statement, &array, &skip, &maxrows, &flags) == FAILURE) {
1408 zval_dtor(array);
[all...]
/PHP_5_5/ext/soap/
H A Dphp_encoding.c87 static int is_map(zval *array);
88 static encodePtr get_array_type(xmlNodePtr node, zval *array, smart_str *out_type TSRMLS_DC);
1298 /* Convert into array */
1328 /* Convert into array */
1340 /* Add array element */
1345 /* Convert into array */
1401 zval *array; local
1403 MAKE_STD_ZVAL(array);
1404 array_init(array);
1405 add_next_index_zval(array, va
1431 zval *array; local
3600 is_map(zval *array) argument
3618 get_array_type(xmlNodePtr node, zval *array, smart_str *type TSRMLS_DC) argument
[all...]
/PHP_5_5/ext/standard/
H A Dexec.c56 * If type==2, all lines will be saved to given array (exec with &$array)
60 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC) argument
123 add_next_index_stringl(array, buf, bufl, 1);
137 add_next_index_stringl(array, buf, bufl, 1);
208 /* {{{ proto string exec(string command [, array &output [, int &return_value]])
H A Dphp_array.h27 PHP_MINIT_FUNCTION(array); variable
28 PHP_MSHUTDOWN_FUNCTION(array); variable
120 ZEND_BEGIN_MODULE_GLOBALS(array)
123 ZEND_END_MODULE_GLOBALS(array)
H A Darray.c91 ZEND_DECLARE_MODULE_GLOBALS(array)
101 PHP_MINIT_FUNCTION(array) /* {{{ */
103 ZEND_INIT_MODULE_GLOBALS(array, php_array_init_globals, NULL);
134 PHP_MSHUTDOWN_FUNCTION(array) /* {{{ */
234 /* {{{ proto bool krsort(array &array_arg [, int sort_flags])
235 Sort an array by key value in reverse order */
238 zval *array; local
241 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &array, &sort_type) == FAILURE) {
247 if (zend_hash_sort(Z_ARRVAL_P(array), zend_qsort, php_array_reverse_key_compare, 0 TSRMLS_CC) == FAILURE) {
254 /* {{{ proto bool ksort(array
258 zval *array; local
274 php_count_recursive(zval *array, long mode TSRMLS_DC) argument
308 zval *array; local
458 zval *array; local
498 zval *array; local
518 zval *array; local
538 zval *array; local
558 zval *array; local
637 zval *array; local
680 zval *array; local
776 zval *array; local
819 HashTable *array; local
842 HashTable *array; local
865 HashTable *array; local
888 HashTable *array; local
911 HashTable *array; local
929 HashTable *array; local
1125 HashTable *array; local
1150 HashTable *array; local
1178 *array, /* array to check in */ local
1798 zval *array; local
2047 zval *array, /* Input array */ local
2749 zval *array, **entry, *data; local
2781 zval *array, **entry; local
2824 zval *array, *tmp; local
4205 zval *array; local
4407 HashTable *array; /* array to check in */ local
[all...]
H A Dformatted_print.c395 zval **array; local
398 array = args[1 + format_offset];
400 SEPARATE_ZVAL(array);
401 convert_to_array_ex(array);
403 argc = 1 + zend_hash_num_elements(Z_ARRVAL_PP(array));
407 for (zend_hash_internal_pointer_reset(Z_ARRVAL_PP(array));
408 zend_hash_get_current_data(Z_ARRVAL_PP(array), (void **)&newargs[i++]) == SUCCESS;
409 zend_hash_move_forward(Z_ARRVAL_PP(array)));
680 /* {{{ proto string vsprintf(string format, array args)
710 /* {{{ proto int vprintf(string format, array arg
[all...]
/PHP_5_5/ext/sysvsem/
H A Dsysvsem.c50 unsigned short int *array; /* array for GETALL, SETALL */ member in union:semun
/PHP_5_5/main/streams/
H A Duserspace.c197 return array( just like that returned by fstat() );
229 return array( just like that returned by stat() );
880 static int statbuf_from_array(zval *array, php_stream_statbuf *ssb TSRMLS_DC) argument
885 if (SUCCESS == zend_hash_find(Z_ARRVAL_P(array), #name, sizeof(#name), (void**)&elem)) { \
/PHP_5_5/Zend/
H A Dzend_dynamic_array.c25 char *array; member in struct:_dynamic_array
36 da->array = (char *) emalloc(size*element_size);
37 if (da->array == NULL) {
47 da->array = (char *) erealloc(da->array, da->allocated*da->element_size);
49 return (void *)(da->array+(da->current++)*da->element_size);
54 return (void *)(da->array+(--(da->current))*da->element_size);
63 return (void *)(da->array+index*da->element_size);
H A Dzend_dynamic_array.h26 char *array; member in struct:_dynamic_array
H A Dzend_builtin_functions.c445 /* {{{ proto array func_get_args()
446 Get an array of the arguments that were passed to the function */
568 /* {{{ proto array each(array arr)
569 Return the currently pointed key..value pair in the passed array, and advance the pointer to the next element */
572 zval *array, *entry, **entry_ptr, *tmp; local
579 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &array) == FAILURE) {
583 target_hash = HASH_OF(array);
585 zend_error(E_WARNING,"Variable passed to each() is not an array or object");
944 /* this is necessary to make it able to work with default array
1642 zval *array = va_arg(args, zval *); local
2441 int extension_name_len, array; local
[all...]
H A Dzend_vm_def.h458 zend_error_noreturn(E_ERROR, "Cannot use string offset as an array");
1194 zend_error_noreturn(E_ERROR, "Cannot use string offset as an array");
1228 zend_error_noreturn(E_ERROR, "Cannot use string offset as an array");
1266 zend_error_noreturn(E_ERROR, "Cannot use string offset as an array");
1304 zend_error_noreturn(E_ERROR, "Cannot use string offset as an array");
1614 zend_error_noreturn(E_ERROR, "Cannot use string offset as an array");
1639 zend_error_noreturn(E_ERROR, "Cannot use string offset as an array");
2699 zend_error_noreturn(E_ERROR, "First array member is not a valid class name or object");
2703 zend_error_noreturn(E_ERROR, "Second array member is not a valid method");
4017 zend_error_noreturn(E_ERROR, "Cannot use object as array");
4233 zval *array = EX_T(opline->op1.var).fe.ptr; variable
4309 zval_ptr_dtor(&array); variable
4317 zval_ptr_dtor(&array); variable
4324 zval_ptr_dtor(&array); variable
4335 zval_ptr_dtor(&array); variable
[all...]
/PHP_5_5/ext/com_dotnet/
H A Dcom_misc.c94 * element from a (possibly multi-dimensional) safe array */
95 PHP_COM_DOTNET_API int php_com_safearray_get_elem(VARIANT *array, VARIANT *dest, LONG dim1 TSRMLS_DC) argument
102 if (!V_ISARRAY(array)) {
106 dims = SafeArrayGetDim(V_ARRAY(array));
110 "Can only handle single dimension variant arrays (this array has %d)", dims);
114 if (FAILED(SafeArrayGetVartype(V_ARRAY(array), &vt)) || vt == VT_EMPTY) {
115 vt = V_VT(array) & ~VT_ARRAY;
119 SafeArrayGetLBound(V_ARRAY(array), 1, &lbound);
120 SafeArrayGetUBound(V_ARRAY(array), 1, &ubound);
134 SafeArrayGetElement(V_ARRAY(array), indice
[all...]
/PHP_5_5/ext/ereg/
H A Dereg.c292 **array = NULL; /* Optional register array */ local
305 if (zend_parse_parameters(argc TSRMLS_CC, "Zs|Z", &regex, &findin, &findin_len, &array) == FAILURE) {
351 if (array && err != REG_NOMATCH) {
357 zval_dtor(*array); /* start with clean array */
358 array_init(*array);
364 add_index_stringl(*array, i, string+start, end-start, 1);
366 add_index_bool(*array, i, 0);
385 /* {{{ proto int ereg(string pattern, string string [, array register
[all...]
/PHP_5_5/ext/mbstring/
H A Dmbstring.c784 php_mb_parse_encoding_array(zval *array, const mbfl_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC) argument
792 if (Z_TYPE_P(array) == IS_ARRAY) {
793 target_hash = Z_ARRVAL_P(array);
1890 /* {{{ proto bool|array mb_detect_order([mixed encoding-list])
1891 Sets the current detect_order or Return the current detect_order as a array */
2035 /* {{{ proto bool mb_parse_str(string encoded_string [, array result])
2051 /* Clear out the array */
3258 Returns an array of all supported entity encodings */
3274 /* {{{ proto array mb_encoding_aliases(string encoding)
3275 Returns an array o
[all...]
H A Dphp_mbregex.c692 zval **arg_pattern, *array; local
701 array = NULL;
703 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs|z", &arg_pattern, &string, &string_len, &array) == FAILURE) {
744 if (array != NULL) {
746 zval_dtor(array);
747 array_init(array);
752 add_index_stringl(array, i, (char *)&str[beg], end - beg, 1);
754 add_index_bool(array, i, 0);
770 /* {{{ proto int mb_ereg(string pattern, string string [, array registers])
778 /* {{{ proto int mb_eregi(string pattern, string string [, array register
[all...]
/PHP_5_5/main/
H A Doutput.c1173 zval *array = (zval *) z; local
1175 add_next_index_stringl(array, handler->name, handler->name_len, 1);
1185 zval *array = (zval *) z; local
1187 add_next_index_zval(array, php_output_handler_status(handler, NULL));
1193 * Returns an array with the status of the output handler */
1316 /* {{{ proto bool ob_start([string|array user_function [, int chunk_size [, int flags]]])
1498 /* {{{ proto false|array ob_list_handlers()
1499 List all output_buffers in an array */
1516 /* {{{ proto false|array ob_get_status([bool full_status])
/PHP_5_5/ext/interbase/
H A Dibase_query.c43 ISC_LONG ar_size; /* size of entire array in bytes */
289 * These types are mentioned as array types in the manual, but I
290 * wouldn't know how to create an array field with any of these
295 _php_ibase_module_error("Unsupported array type %d in relation '%s' column '%s'"
434 ibase_array *array, int dim TSRMLS_DC)
437 int u_bound = array->ar_desc.array_desc_bounds[dim].array_bound_upper,
438 l_bound = array->ar_desc.array_desc_bounds[dim].array_bound_lower,
443 if (dim < array->ar_desc.array_desc_dimensions) {
460 if (_php_ibase_bind_array(*subval, buf, slice_size, array, dim+1 TSRMLS_CC) == FAILURE)
479 } else if (array
433 _php_ibase_bind_array(zval *val, char *buf, unsigned long buf_size, ibase_array *array, int dim TSRMLS_DC) argument
[all...]
/PHP_5_5/ext/spl/
H A Dspl_fixedarray.c53 spl_fixedarray *array; member in struct:_spl_fixedarray_object
78 static void spl_fixedarray_init(spl_fixedarray *array, long size TSRMLS_DC) /* {{{ */ argument
81 array->size = 0; /* reset size in case ecalloc() fails */
82 array->elements = ecalloc(size, sizeof(zval *));
83 array->size = size;
85 array->elements = NULL;
86 array->size = 0;
91 static void spl_fixedarray_resize(spl_fixedarray *array, long size TSRMLS_DC) /* {{{ */ argument
93 if (size == array->size) {
99 if (array
691 spl_fixedarray *array; local
[all...]
H A Dspl_array.c67 zval *array; member in struct:_spl_array_object
89 } else if ((intern->ar_flags & SPL_ARRAY_USE_OTHER) && (check_std_props == 0 || (intern->ar_flags & SPL_ARRAY_STD_PROP_LIST) == 0) && Z_TYPE_P(intern->array) == IS_OBJECT) {
90 spl_array_object *other = (spl_array_object*)zend_object_store_get_object(intern->array TSRMLS_CC);
98 return HASH_OF(intern->array);
152 zval_ptr_dtor(&intern->array);
193 intern->array = other->array;
195 MAKE_STD_ZVAL(intern->array);
196 array_init(intern->array);
197 zend_hash_copy(HASH_OF(intern->array), HASH_O
1107 spl_array_set_array(zval *object, spl_array_object *intern, zval **array, long ar_flags, int just_array TSRMLS_DC) argument
1188 zval **array; local
1285 zval *object = getThis(), *tmp, **array; local
[all...]
/PHP_5_5/ext/session/
H A Dsession.c185 /* Unconditionally destroy existing array -- possible dirty data */
296 zval **array; local
302 if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), (void **) &array) == SUCCESS &&
303 Z_TYPE_PP(array) == IS_ARRAY &&
304 zend_hash_find(Z_ARRVAL_PP(array), "REMOTE_ADDR", sizeof("REMOTE_ADDR"), (void **) &token) == SUCCESS &&
1670 /* {{{ proto array session_get_cookie_params(void)
2701 /* Each uploaded file has its own array. Trying to make it close to $_FILES entries. */

Completed in 104 milliseconds

12