Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- To change this license header, choose License Headers in Project Properties.
- To change this template file, choose Tools | Templates
- and open the template in the editor.
- -->
- <html>
- <head>
- <meta charset="UTF-8">
- <title></title>
- </head>
- <body>
- <?php
- $a = array(
- 'a',
- 'b',
- 10 => 'c',
- 0 => 'd',
- 'caca'
- );
- foreach ($a as $clau => $valor) {
- echo "$clau";
- echo "$valor<br>";
- }
- echo count($a);
- echo "<br>";
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement