pikachu13 - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of pikachu13.php
- <?php
- $array = array( 'film' => array( 'Iron-man', 'Banlieue 13', 'Titanic' ),
- 'genre' => array( 'Science-fiction', 'Science-fiction', 'drame romantique' ),
- 'pays' => array( 'USA', 'france', 'USA' ) );
- foreach( $array as $key => $value )
- {
- echo $key . ': <br />';
- foreach( $value as $valeur )
- echo ' ' . $valeur . '<br />';
- echo '<br />';
- }
- ?>
- <?php
- $tab = [
- "Leclair" => [
- "prenom" => "Marie",
- "ville de residence"=> "Nanterre",
- "age" => "45"
- ],
- "Rentier" => [
- "prenom" => "Paul",
- "ville de residence"=> "Marseille",
- "age" => "21"
- ],
- "Lecache" => [
- "prenom" => "Nadine",
- "ville de residence"=> "Toulon",
- "age" => "37"
- ]];
- echo "<pre>";
- print_r($tab) ;
- echo "</pre>";
- ?>
File Description
- pikachu13
- PHP Code
- 04 Aug-2022
- 736 Bytes
You can Share it:
Latest PHP Pastes