Semantic Versioning(SemVer)

Semantic Versioning(SemVer)

Semantic versing(SemVer) is the most used software versioning system. In this article, we are discussing Semantic versioning in detail. All aspects will be discussed- from structure to all prefixes and postfixes.

PHP: Type Casting

PHP

While performing any operation PHP will try to cast variables to the appropriate data type as per the operation requirement. But sometimes we need to do it explicitly.

PHP: Data Types

PHP

Scalar Types Type Description Boolean Integer Float String Integer Number Format Description Example Decimal Normal decimal numbers 86 Binary Binary numbers start with 0b or 0B (Zero then capital or small “B”) 0b1010110 Octal Octal numbers start with 0(Zero) 0126 Hexadecimal Hex numbers start with 0x or 0X (Zero and then capital or small “X”) … Read more

PHP: Variable

PHP

Variables are identifiers for some data storage in the programming. We can save some data in memory using a variable, and the variable works as a named identifier of that data storage memory address. PHP variable naming starts with a dollar sign($) and then there is an identifier(variable name). The identifier/name of the variable should … Read more

PHP: SplFixedArray

PHP

SplFixedArray is a data structure provided by the Standard PHP Library(SPL). Works similar to the array but is memory efficient. So when memory consumption is a concern in some part of your PHP application then use SplFixedArray instead of standard array.