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...
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...
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...
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...