SHARE
TWEET

Untitled

a guest May 21st, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <!--
  3. To change this license header, choose License Headers in Project Properties.
  4. To change this template file, choose Tools | Templates
  5. and open the template in the editor.
  6. -->
  7. <html>
  8.     <head>
  9.         <meta charset="UTF-8">
  10.         <title></title>
  11.     </head>
  12.     <body>
  13.         <?php
  14.         $a = array(
  15.             'a',
  16.             'b',
  17.             10 => 'c',
  18.             0 => 'd',
  19.             'caca'
  20.         );
  21.         foreach ($a as $clau => $valor) {
  22.             echo "$clau";
  23.             echo "$valor<br>";
  24.         }
  25.             echo count($a);
  26.             echo "<br>";
  27.         ?>
  28.     </body>
  29. </html>
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
 
Top