Symmetric Array Destructuring in PHP 7.1

Code
<?php

$array 
= [
    [
        
'animal' => 'horse',
        
'status' => 'is a horse, of course',
    ],
    [
        
'animal' => 'bird',
        
'status' => 'angry',
    ],
    [
        
'animal' => 'cat',
        
'status' => 'doesn\'t care about its status',
    ],
];

foreach (
$array as ['animal' => $animal'status' => $status]) {
    echo 
'<b>'.$animal.'</b>:' PHP_EOL;
    echo 
$status str_repeat(PHP_EOL2);
}
Result
horse:
is a horse, of course

bird:
angry

cat:
doesn't care about its status
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8