Home > Article > Backend Development > PHP basic functions
The content introduced in this article is about the basic functions of PHP. Now I share it with you. Friends in need can refer to it
Local variables
Super global variables
$_SERVER $GLOBALS $_GET $_POST $_REQUEST $_COOKIE $_SESSION
Global variables
Local static variables
Use global variables inside the function
$a = 4; function add(){ global $a; $a++; echo $a; } add(); echo "<br/>"; echo $a;
function_exists(); func_get_arg(); func_get_args(); func_num_args();
Time
Mathematics
String
Array
count()
Related recommendations:
Detailed explanation of PHP basic knowledge
php basic knowledge note sharing
The above is the detailed content of PHP basic functions. For more information, please follow other related articles on the PHP Chinese website!