Php Array Add Key If Command Less Than Or Equal