PHP Build a Basic PHP Website (2018) Adding a Basic Form Validating Form Data

Double pipes (or)

Is it not better to always use double pipes in your code instead of the OR?

2 Answers

Sean T. Unwin
MOD
Sean T. Unwin
Treehouse Moderator 28,648 Points

It's really personal preference while adhering to any code style guide you may have to keep in line with (mostly pertaining to a team environments).

Ok, noted, thank you sir.