In PHP the ternary operator can really help clean up your code, especially for short conditional assignments. The ternary operator can help improve the readability of your code as well. Someone recently enlightened me and showed me the Elvis operator and it’s usage for simple assignments. more…
PHP and the Elvis Operator
