The PHP Language
Part of the Fundamentals section of Coddy's PHP journey — lesson 1 of 71.
PHP is a popular server-side scripting language that powers millions of websites around the world, including major platforms like Facebook and WordPress.
PHP stands for "PHP: Hypertext Preprocessor" and is designed specifically for web development. Unlike languages that run in your browser, PHP code executes on the server before sending results to users.
Challenge
EasyPress the run code button to run your first code in PHP
Try it yourself
<?php
echo "Hello World!";
?>All lessons in Fundamentals
4Comparison & Logical Operators
Comparison OperatorsEquality & IdentityLogical Operators Part 1Logical Operators Part 2Recap - Simple Logic2Variables and Data Types
NumbersStrings and QuotesBooleansNaming ConventionsRecap - Variable InitEmpty VariablesString ConcatenationGetting User InputCast to Different Types5Conditional Logic
If StatementIf - ElseThe Ternary OperatorNull Coalescing OperatorSwitch StatementRecap - Making Decisions3Basic Operators
Arithmetic OperatorsModulo OperatorExponentiation OperatorCombined AssignmentIncrement/DecrementOperator PrecedenceRecap - Simple CalculationsString Operators