ex1tp2 - 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 ex1tp2.php
- <?php
- $mod_div = array ("module 1" =>"L1_SEM","module2" =>"l1_S1",
- "module3"=>"l1_S2","module4"=>"l1_DSI","module5"=>"l2_DSI","module6"
- =>"l2_RSI","module7"=>"l3_SEM");
- echo "le tableau a ". count($mod_div). "elements: <br/>" ;
- foreach ($mod_div as $valeur => $i)
- {
- echo "<ul><li>" .$valeur."-->" .$i.'<br/>'.'</li></ul>' ;
- }
- ?>
File Description
- ex1tp2
- PHP Code
- 26 Feb-2021
- 350 Bytes
You can Share it:
Latest PHP Pastes