PHP Basic Tutorial

PHP Syntax rule

Every programming language has some syntax rule. PHP has also some syntaxt that can surprise.In this article, we will discuss about below-mentioned pointWhat is PHP?PHP codeCase sensitivityStatementsWhitespace & line breaks...

Updated on ... 10th February 2023
Read More

What are the differences between die() and exit() functions in PHP?

There's no difference between die() and exit function in PHP they are the sameThe PHP Manual for exit states:  This language construct is equivalent to die(). The PHP Manual for die states:This language construct is equivalent t...

Updated on ... 11th February 2023
Read More

PHP variable scope and differ it from Javascript variable scope

In PHP and Javascript  Variables have a limited "scope" which means that variable has a limited place where they are accessible. for example, if we defined $x=5;  once somewhere in our application, it doesn't mean we can refer t...

Updated on ... 08th March 2023
Read More

The PHP loops

Loops are used to execute or run the same block of code multiple times, as long as a given condition is true. if we want to run same block of code multiple times, then we can put that block of code into a loop. There are four typ...

Updated on ... 09th March 2023
Read More