DEV Community

Discussion on: Best Practice - Check if property exist and assign

Collapse
 
belinde profile image
Franco Traversaro

Consider following PSR-1 and PSR-2 coding standards. PSR are recommendations of the php-fig group, they're becoming a de facto standard. The more developers follow a single style standard, the easier become understand someone else code.

Thread Thread
 
mlueckl profile image
Michael Lueckl

This is great and I will look into this.
I always try to adjust my style to a standard because I strongly agree that standards are very useful.