How to print “Hello World” in PHP?
To print Hello world in php you must have PHP installed on your system and follow the following syntax. Goal of this script to teach How to print “Hello World” in browser using PHP.
To print Hello world in php you must have PHP installed on your system and follow the following syntax. Goal of this script to teach How to print “Hello World” in browser using PHP.
As we are working in a team and using git. Many developers are working on the same project in this git is very helpful. So when we have to rename the git branch? You created a branch and pushed on the remote server, after pushing you got to know that branch name is incorrect. To… Read More »
Whenever we are creating a directory in git folder git shows us nothing to commit, it is by the design of git we can not commit empty directories. So to commit empty directory to git repository follow the steps below Create an empty directory 2. Then create an empty directory 3. Add your directory with… Read More »
To log a query in laravel there are multiple methods available. I am going to share one of the method log query in laravel. Why we have required to log queries? Sometimes we are not getting correct results when we are running our application. Sometime not able to figure out issue. We have requirement to… Read More »
If you want to know the PHP version you are running through the command line, you need to just type in the command the following line. It will give you the current php version of your system which is currently using and output of PHP version like this (not exactly, depends on your version)
Composer is a dependency manager tracking local dependencies of your projects and libraries.See https://getcomposer.org/ for more information.
empty() function determines whether given variable is empty and also used for checking variable is set or not. Variable is said to empty if it is not set or value is false. empty values can be : 0 “” or “0” 0.0 (0 float value) FALSE empty array() NULL Reference : http://php.net/manual/en/function.empty.php
Decompsoing a structure into its individual parts is called de structuring.
Outputs or returns a parsable string representation of a variable. It will gives you structured information about the given variable. Syntax : $expression – The variable you want to export.$return – This is optional. If it is used and set to true then it will return the variable representation instead of outputting it else it… Read More »
You just have to run the following command