1. Regarding case
PHP’s built-in functions and structures are not case-sensitive.
For example:
Copy code The code is as follows:
HelloPHP < ?php
echo("Hello PHP");
ECHO("Hello PHP");
Echo("Hello PHP");
?>
These three The effect is the same.
Others, user-defined class names and method names are also case-insensitive.
For example:
Copy the code The code is as follows:
HelloPHP < ?php
function Test()
{
echo("Hello PHP");
}
Test();
TEST();
test();
?>
But variables are case-sensitive.
![一步一步学习PHP2——PHP类型](http://image.codes51.com/Article/image/20160614/20160614135639_4903.png)
");
$stringTest="Test";
echo(is_string($stringTest));
echo("
");
echo(is_int($stringTest));
?>
The above introduces the step-by-step learning of PHP2 - PHP type, including the content of learning PHP. I hope it will be helpful to friends who are interested in PHP tutorials.