what the difference between the ‘BITWISE AND’ operator and the ‘LOGICAL AND’ operator?
$a and $b: TRUE if both $a and $b are TRUE. $a & $b: Bits that are set in both $a and $b are set.
$a and $b: TRUE if both $a and $b are TRUE. $a & $b: Bits that are set in both $a and $b are set.
The scope of a variable is the context within which it is defined. For the most part, all PHP variables only have a single scope. This single scope spans included…
$_COOKIE is an associative array of variables sent to the current PHP script using the HTTP Cookies.
$_ENV is an associative array of variables sent to the current PHP script via the environment method.
We can change the maximum size of files to be uploaded by changing upload_max_filesize in php.ini.
$_FILES contains the error code associated with the uploaded file.
$_FILES represents the original name of the file on the client machine, $_FILES represents the temporary filename of the file stored on the server.
$_FILES is an associative array composed of items sent to the current script via the HTTP POST method.
$_SERVER is an array including information created by the web server such as paths, headers, and script locations.
$GLOBALS is associative array including references to all variables which are currently defined in the global scope of the script.