Short-circuiting in PHP
Short-circuiting in PHP refers to the behavior of logical operators (&&, ||, and their shorthand equivalents and and or) where the evaluation stops as soon as the final outcome of…
Short-circuiting in PHP refers to the behavior of logical operators (&&, ||, and their shorthand equivalents and and or) where the evaluation stops as soon as the final outcome of…
Type hinting in PHP refers to the practice of specifying the expected data types for function arguments, return values, and class properties.
There are 5 pillars of any MVC framework. 1) Router2) Validator3) Database4) Template Engine5) Container
The 4 pillars of OOP are 1) Encapsulation 2) Abstraction 3) Inheritance & Polymorphism. Here are some basic explanation of each why to use and where to use.
If you have same named function in functional programming, it’s not accepted but yes you can create same named function in different class. Now what about the class name? What…
Anonymous function means you can create a function without declaring its name and you can write a piece of code into it’s definition.
The answer is NO. Why? Because from simple application written in core PHP to latest framework like Laravel having some advantage over it. Check this how.
We found a PHP script is always having a JS code. A basic PHP applications must having JS interaction in script. On very basic level there are 4 types PHP…
PHP Data types: Total 8 PHP is loosely type language. Means it convert the data type according to the situation automatically. This auto conversion is called type Juggling or type…
Check this game: https://majo.stitcher.io/