New Global Constants in php 7

Posted by Prem Tiwari | Updated on | in PHP Documentation.


Here is the list of New Global Constants in php 7. Below is the syntax how you can use PHP global variables inside your code. Examples to use PHP global variables Core Predefined Constants PHP_INT_MIN …

How to use a switch case ‘or’ in PHP?

Posted by Prem Tiwari | Updated on | in PHP Documentation.


Problem: How to use a switch case ‘or’ in PHP? Solution: This can be achieved in 2 ways. PHP Switch case syntax Use the switch statement to select one of many blocks of code to be executed. …