<?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..
0%
PHP Basics Matching Activity
Share
Share
Share
by
Digitalfe
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Match up
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
AI Enhanced: This activity contains content generated by AI.
Learn more.
Switch template
Show all
More formats will appear as you play the activity.
)
Open results
Copy link
QR code
Delete
Continue editing:
?