Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- set_time_limit(6);
- $movies = [
- "Indiana Jones and the Kingdom of the Crystal Skull" => ["Harrison Ford", "Cate Blanchett", "Karen Allen",],
- "Indiana Jones and the Last Crusade" => ["Harrison Ford", "Sean Connery", "Denholm Elliott",],
- "Indiana Jones and the Temple of Doom" => ["Harrison Ford", "Kate Capshaw", "Jonathan Ke Quan",],
- ];
- var_dump ($movies) ;
- foreach ($movies as $movie => $names) {
- echo "Dans le film ";
- echo $movie ;
- echo ", les principaux acteurs sont: "."<br>";
- foreach ($names as $name => $actors) {
- echo $actors . "<br>";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement