code_junkie

Do you name your arrays plurally or singularly?

Nov 13th, 2011
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $name = $names[1];
  2.  
  3. nameList
  4.  
  5. sort(name)
  6. sort(names)
  7.  
  8. name[1]
  9. names[1]
  10.  
  11. value[0] = 42;
  12.  
  13. values[0] = 42
  14.  
  15. for each (string person in people)
  16. {
  17. //code
  18. }
  19.  
  20. $name = 'Bobby';
  21. echo $name[1];
Add Comment
Please, Sign In to add comment