Code: Select all
Array
(
[0] => Size: tiny
[1] => Size: small
[2] => Size: big
[3] => Colour: yellow
[4] => Colour: black
[5] => Colour: blue
[6] => Length: short
[7] => Length: long
)
Das Ergebnis, auf das ich hoffe, ist tatsächlich herauszufinden, ob alle Attribute (Größe, Farbe ...) gleich sind, oder sie sind unterschiedlich. Wenn sie unterschiedlich sind, würde ich sie gerne in Arrays einfügen ... vermutlich würde dieses Beispiel ein Array wie dieses zurückgeben:
Code: Select all
Array
(
[0] => Array
(
[0] => Size: tiny
[1] => Size: small
[2] => Size: big
)
[1] => Array
(
[0] => Colour: yellow
[1] => Colour: black
[2] => Colour: blue
)
[2] => Array
(
[0] => Length: short
[1] => Length: long
)
)