[ create a new paste ] login | about

Link: http://codepad.org/efGpJCci    [ raw code | output | fork ]

PHP, pasted on Jul 21:
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
$car = array(
'Ano' => 1969,
'Cor' => 'Branco',
'Nome' => 'Fusca');

echo $car['Nome'];
echo '<br><br>';
          
foreach ($car as $d=>$r) {
echo "$d: $r <br>";
}   
?>


Output:
1
Fusca<br><br>Ano: 1969 <br>Cor: Branco <br>Nome: Fusca <br>


Create a new paste based on this one


Comments: