Created
October 4, 2020 12:40
-
-
Save LA1720/1bb127d6ede66757848b5e00a6f6d916 to your computer and use it in GitHub Desktop.
Créer la filmographie d'Indiana
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 | |
$films = ['Indiana Jones 5'=>2022,'Indiana Jhones et la royaume du crâne de cristal'=>2008,'Indiana Jhones et la Temples maudit'=>1984]; | |
// // var_dump($films); | |
asort($films); | |
// var_dump($films); | |
foreach($films as $movieName => $date) { | |
var_dump($date.'-'.$movieName.' '); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment