Case Sensitivity CODE
The three variables
$variable
,
$Variable
and
$VARIABLE
are completely different
// lowercase
$variable = "Value 1";

// PascalCase
$Variable = "Value 2";

// UPPERCASE
$VARIABLE = "Value 3";

echo $variable . "\n";
echo $Variable . "\n";
echo $VARIABLE . "\n";
Function names are case-insensitive
function printGreeting() {
	print "Prints: Hello world!\n";
}
printGreeting();
Calling the function with uppercase will still work
by Valeri Tandilashvili
2 years ago
PHP
Variables
2
Pro tip: use ```triple backticks around text``` to write in code fences
0
Valeri Tandilashvili 2 years ago
Some comment
REPLY
Show 2 replies
1
Tinatin Kvinikadze 2 years ago
And annnnnnother comment :D
REPLY