Not sure what you have understood…the point was i cannot assist you in php as i dont have the skills.
As for your saying, ‘it does not matter …’…
It matters as every language has its own way of implemeting things.
For ex: Java has its own way.
Yes, the end result is the same.
All the best.