[ create a new paste ] login | about

Link: http://codepad.org/7qWnPS6C    [ raw code | output | fork ]

upwhere - PHP, pasted on Apr 21:
1
2
3
4
5
6
7
8
9
<?php
  
$gift = array("TV","car","aeroplane", "iPad", "iPhone", "PS4"); 
 
$gift_count = count($gift);
  
echo "I have $gift_count gifts.";
 
?>


Output:
1
I have 6 gifts.


Create a new paste based on this one


Comments: