mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2024-12-22 20:53:42 +01:00
22 lines
336 B
PHP
22 lines
336 B
PHP
<?php
|
|
|
|
$personen = [
|
|
[
|
|
'vorname' => 'Max',
|
|
'nachname' => 'Muster'
|
|
],
|
|
[
|
|
'vorname' => 'Barbara',
|
|
'nachname' => 'Beispiel'
|
|
]
|
|
];
|
|
|
|
foreach ($personen as $person) {
|
|
var_dump($person);
|
|
echo '<br>';
|
|
}
|
|
|
|
foreach ($personen as $person) {
|
|
var_dump($person['nachname']);
|
|
echo '<br>';
|
|
} |