Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
예 1. sorting multiple arrays
in this example, after sorting, the first array will contain 10, "a", 100, 100.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta
예 3. creating an array of arrays
prev
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
표 33-1. zend's api for associative arrays
add_index_stringl( zval *array, uint idx, char *str, uint length, int duplicate) ;()
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
예 2. using indexed arrays with preg_replace()
using indexed arrays with preg_replace()
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
표 33-2. zend's api for indexed arrays, part 1
add_next_index_stringl( zval *array, char *str, uint length, int duplicate) ;()
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
표 2. other keys in associative arrays dependant on 'type'
length of time (seconds) to wait after a failed refresh before making a second attempt. expire:
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
accessing arrays and objects is a bit more complicated and is discussed later.
because all values are stored in a union, trying to access data with incorrect union members results in meaningless output.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
var may be any scalar type. you cannot use doubleval() on arrays or objects.
this alias is a left-over from a function-renaming.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
on exit, the arrays are modified to indicate which socket resource actually changed status.
also do not forget that those arrays are passed by reference and will be modified after socket_select() returns.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
sorts an array by key, maintaining key to data correlations. this is useful mainly for associative arrays.
sorts an array by key, maintaining key to data correlations.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
this function returns an array of associative arrays. each associative array contains at minimum the following keys:
dns_get_record() only returns internet class records and as such this parameter will always return in.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
sorts an array by key in reverse order, maintaining key to data correlations. this is useful mainly for associative arrays.
sorts an array by key in reverse order, maintaining key to data correlations.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
an interesting use of this function is to construct an array of arrays, which can be easily performed by using null as the name of the callback function
the printout of the program above will be:
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
there are many types of variables available in php. in the above example we printed an array element. arrays can be very useful.
in the above example we printed an array in the above example we printed an array element.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
will return the aggretaion information for a particular object as an associative array of arrays of methods and properties. the key for the main array is the name of the aggregated class.
the key for the main array is the name of the aggregated class.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
extraattribs is used to specify additional configuration options for the csr. both dn and extraattribs are associative arrays whose keys are converted to oids and applied to the relevant part of the request.
both dn and extraattribs are associative arrays whose keys are converted to oids and applied to the relevant part of the request.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
arrays specifies whether or not each section becomes an array. the sections file, computed and thumbnail allways become arrays as they may contain values whose names are conflict with other sections.
the sections file, computed and thumbnail allways become arrays as they may contain values whose names are conflict with other sections.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
complex types such as arrays and objects require different treatment. zend features a single api for these types - they're stored using hash tables.
zend features a single api for these types - they 're stored using hash tables.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
below is an example that illustrates the internal structure of the arrays being generated by the function. we use a simple note tag embeded inside a para tag, and then we parse this an print out the structures generated:
we use a simple note tag embeded inside a para tag, and then we parse this an print out the structures generated:
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
usually when using two or more arrays, they should be of equal length because the callback function is applied in parallel to the corresponding elements. if the arrays are of unequal length, the shortest one will be extended with empty elements.
an interesting use of this function is to construct an array of arrays, which can be easily performed by using null as the name of the callback function
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità: