PHP allows defining constants using define function. Defined constants are case-sensitive. For example, DB_USER and db_user represents different constants.
In versions prior to PHP 8.0, it was possible to define...
Apache HTTP Server is a cross-platform web server that delivers web content to a clients who request it. Apache is an open-source project, available under the Apache License 2.0.
This...
PHP has the display_startup_errors directive that specifies whether the errors must be displayed that occurred during PHP startup process. If this directive explicitly not set, default value will be used...
PHP has the error_reporting directive that specifies which type of errors to report. If error reporting level explicitly not set, default value will be used. For example, we can set...
Environment variable is a named value on a computer that can be used to affect running processes. Programming languages provides methods to get an environment variable. A table includes a...
Coronavirus (COVID-19) has affected many countries around the world. One of the protection method is to wear a face mask in public spaces. Many service providers and event organizers require...
SHA3-512 is a cryptographic hash function that accepts a string of any length and returns a 512-bit fixed-length digest value, commonly represented as a sequence of 128 hexadecimal digits. SHA3-512...
Since PHP 7.0, we can use the intdiv function to perform the integer division. It is a mathematical operation that divides two numbers and returns the integer part by removing...
The division operator (/) is an arithmetic operator that allows to divide one number by another. This operator returns a floating-point number, unless both operands are integers. In this case...
XML-RPC is a protocol that allows to call a function or procedure on a remote system. XML-RPC uses XML format to define requests and the HTTP protocol to send them...