The performance drawback depends on how long your $products variable is. If it contains a lot of items, it may affect performance, especially if this piece of code runs a lot.
Also for me, it’t pretty WET (We Enjoy Typing, as of the opposite of DRY, Don’t Repeat Yourself). Unless you provide me any technical reason why you did this, I won’t approve this.