29-11-2011 : Remettre dans le débat politique les principes du Conseil National de la Résistance
17-02-2012 : Pétition pour une protection de l’apiculture et des consommateurs face au lobby des OGM
Logo de mon site
Logo de mon site
Faire un don




Right menu

Logo du site ez.no  Logo XHTML 1.O du W3C  Logo XHTML 1.O du W3C  Site francophone officiel de Firefox
zero papier grâce aux catalogues et promos en ligne de bonial

Arrays -- Tableaux

Date de publication: le samedi 2 avril 2011 à 15h03
Dernière modification: par Pascal BOYER le samedi 2 avril 2011 à 15h20

Table des matières

  1. Arrays -- Tableaux
  2. array
  3. hash

09/03/2005 02:11

toutes versions

Operator
Opérateurs
Summary
Résumé
append Returns the input array with appended elements.
array Creates and returns a new array.
Crée et retourne un nouveau tableau.
array_sum Returns the sum of all elements in an array.
begins_with Checks if an array starts with a specific element/sequence.
compare Compares the contents of two arrays.
contains Checks if an array contains a specific element.
ends_with Checks if an array ends with a specific element or sequence.
explode Splits the input array and returns it as an array of sub-arrays.
Dédouble le tableau d'entrée et le retourne sous forme de deux sous-tableaux.
extract Returns a portion of the input array.
extract_left Returns a portion of the start of the input array.
extract_right Returns a portion of the end of the input array.
hash Creates and returns a new associative array (a hash).
Crée et retourne un nouveau tableau associatif (un hash)
implode Joins array elements with strings.
Assemble les éléments d'un tableau avec une chaîne de caractères.
insert Inserts an element/sequence at specified position in an array.
merge Merges input and passed arrays into one array.
prepend Returns the input array prepended with specified elements.
remove Returns the input array without some of the original elements.
repeat Returns a repeated version of the input array.
reverse Returns a reversed version of the input array.
unique Returns the input array without duplicate elements.