fork(2) download
  1. <?php
  2. $cars = array
  3. (
  4. array("Elentra",22,18),
  5. array("Audi",15,13),
  6.  
  7. );
  8. echo $cars[0][0].": In stock: ".$cars[0][1].", sold: ".$cars[0][2].".\n";
  9. echo $cars[1][0].": In stock: ".$cars[1][1].", sold: ".$cars[1][2].".\n";
  10. ?>
Success #stdin #stdout 0.03s 52480KB
stdin
Standard input is empty
stdout
Elentra: In stock: 22, sold: 18.
Audi: In stock: 15, sold: 13.