1-2-3 PHP operators
SMRTR summary
PHP operators often follow a 1-2-3 pattern, with single, double, and triple versions having related but distinct functions. For example, = assigns values, == compares values, and === checks for identity. This pattern extends to other symbols like +, -, and ?, each gaining new meanings when repeated. Some combinations remain unused, potentially available for future PHP features.
SMRTR provides this summary for quick context. The original article belongs to Daily.dev.
Read the original article