Last active
September 11, 2018 16:22
-
-
Save vigi3/ceb9861c3ee407bb6f78c88a065c001a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$film=[ | |
'Indiana Jones et le Royaume du Crane de Cristal' => ['Harrison Ford', 'Cate Blanchett', 'Shia Leboeuf'], | |
'Indiana Jones et la Derniere Croisade'=> ['Harrison Ford', 'Sean Connery', 'John Rhys-Davies'], | |
'Les aventuriers de l Arche du perdue'=> ['Harrison Ford', 'Karen Allen', 'Paul Freeman'], | |
]; | |
foreach ($film as $key => $value) { | |
echo "Dans le film $key, les principaux acteurs sont : "; | |
echo implode(', ', $value); | |
foreach ($value as $cle =>$value){ | |
} | |
echo '.' ."<br>"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment