Select language
Română
English
Français
Deutsch
Italiano
Español
Home
Languages ▾
CPP
C
CS
GO
JAVA
Python
Html
JS
CSS
PHP
Hard Lessons ▾
Hard Lesson 1
Hard Lesson 2
Hard Lesson 3
Hard Lesson 4
Hard Lesson 5
Hard Lesson 6
Hard Lesson 7
Hard Lesson 8
Hard Lesson 9
Hard Lesson 10
Hard Lesson 11
Hard Lesson 12
Compiler
Account
PHP
Syntax Basics
Variables & Types
$int = 10; $float = 5.6; $str = "Text"; $bool = true; $array = [1, 2, 3];
Conditions
if ($age >= 18) { echo "Adult"; } else { echo "Minor"; }
Loops
for ($i = 0; $i < 5; $i++) { echo $i; } foreach ($array as $value) { echo $value; }
Functions
function greet($name) { return "Hello " . $name; } echo greet("Bob");
Forms & POST
Send