<?php, Starts PHP code, echo, Outputs text or values, Variable, Named storage location, $ (dollar sign), Variable name symbol, array, Stores multiple values, function, Reusable code block, if, Starts a decision, else, Runs if condition false, elseif, Adds another condition, switch, Chooses code by value, for, Repeats code set times, foreach, Loops through array items, while, Repeats while true, include, Loads another PHP file, require, Stops if file missing, return, Ends function, sends value, class, Blueprint for object, public, Accessible from anywhere, private, Used inside class only, extends, Inherit from another class, $_SESSION, Superglobal array used to store data for a user session on the server., $_POST, Superglobal array for data sent from an HTML form using POST., $_GET, Superglobal array for data sent in the URL query string., false, A Boolean value meaning “no / condition not met”., true, A Boolean value meaning “yes / condition met”., null, Special value meaning “no value” or “nothing here”., empty(), Function that checks if a variable has no value (like "", 0, null, etc.)., catch, Runs if an error happens in the try block, so you can handle the error., finally, Code that always runs after try/catch, whether there was an error or not., isset(), Function that checks if a variable exists and is not null..

PHP Basics Matching Activity

Leaderboard

Visual style

Options

AI Enhanced: This activity contains content generated by AI. Learn more.

Switch template

)
Continue editing: ?