Arrays in PHP can be used very much like a tuple:
// one dimensional mixed data
$x = [1, 2, "hello"];
// multidimensional third element
$y = [1, 2, [3, 4, 5]];
// assigning to variables (list unpacking)
list($a, $b, $c) = $x; //$a is 1, $b is 2, $c is "hello"
As of PHP 7.1 you can also unpack like this:
[$a, $b, $c] = $x;