Space strategy on php