Łączenie tablic w php

0

Witam serdecznie,
Mam 3 tablice:

 
$testt1 = array(
    "thumb" => "thumb1",
    "small" => "small1",
    "big" => "big1"
);
$testt2 = array(
    "thumb" => "thumb2",
    "small" => "small2",
    "big" => "big2"
);
$testt3 = array(
    "thumb" => "thumb3",
    "small" => "small3",
    "big" => "big3"
);

i chciałbym je połączyć w jedną, aby uzyskać taki efekt:

 
Array
(
    [0] => Array
        (
            [thumb] => thumb1
            [small] => small1
            [big] => big1
        )

    [1] => Array
        (
            [thumb] => thumb2
            [small] => small2
            [big] => big2
        )

    [2] => Array
        (
            [thumb] => thumb3
            [small] => small3
            [big] => big3
        )

)

Wie ktoś może jak to zrobić?

Z góry dziękuje za pomoc,
Northwest

0
$test[0] = $testt1;
$test[1] = $testt2;
$test[2] = $testt3;

?

Albo nawet zgrabniej:

$test = array($testt1, $testt2, $testt3);

1 użytkowników online, w tym zalogowanych: 0, gości: 1