Variables
Creating variables with $, naming, and constants (define/const).
Simple enough for a 5-year-old to understand
Variable with $
<?php$name = "Alex";$age = 36;echo "$name - $age";🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: Berlin