Operators
Math (+ - * / % **), comparison (== === < >), logical (&& ||), and concatenation (.) operators.
Simple enough for a 5-year-old to understand
Math and concatenation
Note: In PHP, string concatenation uses a DOT (.) instead of +.
<?phpecho 7 % 2;echo "\n";echo "Alex" . " " . "Lovelace";🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: 3