Code simplification.
- srand() served no real purpose here (randomization is automatic anyway; no compelling reason to specifically use a time-based seed for Demo purposes) - perfect situation for use of array_map()
Please register or sign in to comment