SHARE
TWEET

Untitled

a guest Oct 14th, 2019 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. set_time_limit(6);
  4.  
  5.  
  6. $movies = [
  7.     "Indiana Jones and the Kingdom of the Crystal Skull" => [", les principaux acteurs sont: ","Harrison Ford", "Cate Blanchett", "Karen Allen",],
  8.     "Indiana Jones and the Last Crusade" =>  [", les principaux acteurs sont: ","Harrison Ford", "Sean Connery", "Denholm Elliott",],
  9.     "Indiana Jones and the Temple of Doom" =>  [", les principaux acteurs sont: ","Harrison Ford", "Kate Capshaw", "Jonathan Ke Quan",],
  10. ];
  11.  
  12. var_dump ($movies) ;
  13.  
  14. foreach ($movies as $movie => $names) {
  15.     echo "Dans le film ";
  16.     echo $movie ;
  17.  
  18.     foreach ($names as $name => $actors) {
  19.         echo $actors . "<br>";
  20.     }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top