Last Updated: November 21, 2025
Syntax
<?php
$name = "John";
echo "Hello $name";
$arr = ["a", "b", "c"];
?>
Common Functions
echo
Output
var_dump()
Debug
isset()
Check if set
💡 Pro Tip:
Use prepared statements for SQL queries!