$count = count($piece); $count2 = $count--; /* not code here, just output */ print "$count" = 5 print "$count2" = 6