Difference between double and triple equals in PHP
What’s the difference between double and triple equals in PHP ? PHP supports both double (==) and triple (===) comparison. Then when to use double equal to and when to use triple equal to in our code.
How to access localhost from anywhere using any device.
How to Access Localhost from Anywhere
How many times, you have been working on an application (or an app) and you have designed and completed your application nicely. You have set up everything very nicely on your local system. Now you want to show this work to your client, who is sitting on a remote location. Also, you want to test this application on a different device ( such as mobile, tablets etc). To do these things, either you have to host your application on a public server, or you can use any service which allows to access localhost from anywhere.
Starting from PHP 5.4 , PHP incorporates a feature of a built-in web server. You can take the advantage of PHP built-in web server for development and testing of your PHP applications. It means you don’t need to configure Apache to run your PHP applications.
How to install composer on Mac OS.
What is Composer ?
Composer is a cross-platform dependency manager that allows you to manage package dependency in your project.
In my previous article i explained how to manage package dependency in PHP through composer.
How to set up virtual hosts in apache on Mac OS.
Write a program to print factorial of a number in PHP. In this tutorial, I’ll explain how to write a factorial program in PHP using iterative as well as recursive approach. Before solving this problem let’s understand what is factorial.
Write a program to check whether a number is prime or not. Given an integer, We have to write an efficient to check whether a number is prime or not.
How to install Redis on Mac OS. Before installing redis let’s give you a quick introduction to redis.