mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2024-11-23 23:53:41 +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>';
|
|
} |