Code & Blog

Category: PHP

Data Types Available in PHP

8 data types available Integer Float/Double Boolean String Array Object Null Resource   Integers: Integers are whole numbers, without a decimal point (…, -2, -1, 0, 1, 2, …) Floating Point Numbers

Read More »

Recursion & Recursive Function In PHP

Recursion occurs when a function calls itself. There’s nearly always an end condition of some sort — known as the base case — otherwise, the function would continue to call itself indefinitely

Read More »

How Append/Concatenation A String In PHP

*In PHP there are two string operators. 1.Concatenation Operator (‘.’) It returns the concatenation of its right and left arguments 2.concatenating assignment operator (‘.=’) It appends the argument on the right side

Read More »

Difference Between StudlyCaps and CamelCase?

According to PHP Standard Recommendations (PSR) – 1. Class names MUST be declared in StudlyCaps. 2. Class constants MUST be declared in all upper case with underscore separators. 3. Method names MUST

Read More »
Blog Categories

Most Popular