Code & Blog

Category: PHP

String In PHP: In Brief

# Single Quote vs Double Quote: PHP will not parse anything when a string is in a single quote. #Heredoc PHP: Heredoc PHP syntax is a way to write large bloc of

Read More »

Array In PHP: In Brief

#ARRAY INTRODUCTION #ARRAY MANIPULATION change or modify a value of an existing array #array_pop(): Array Pop removes the last item from an array and returns it. #array_shift(): Array Shift removes the first

Read More »

Variable Scope In PHP: In Brief

Variable scope is a boundary for a variable within which it can be visible or accessed from code. There are only two scopes available in PHP namely local and global scopes. Local

Read More »

Operator Precedence In PHP

The precedence of an operator specifies how “tightly” it binds two expressions together. For example, in the expression 1 + 5 * 3, the answer is 16 and not 18 because the

Read More »
Blog Categories

Most Popular