Variables, Type casting ,Concatination and Constants in PhP

1. Variables:

$ sign is used for defining the variables in PHP. eg$var_1 =12. Here the datatype is automatically assigned. You don’t have to specify the datatype of a declared variable.

echo is used to output the results.

2. Changing a variable’s data type:

3. Concatenation :

4. Constants:

In PhP you can define constants. The value of the constant remains unchanged throughout the execution of the program. You can define a constant using the define () function as shown below. It is common to use capital letters for defining the constants. Also avoid using the php reserved keywords such as boolean, echo etc,,,


[SOLVED] Helm Error: no available release name found

When I ran helm install, I got "Error: no available release name found" error. What should I do? If you get no…

Read more

What is powershell:              Windows powershell is an excellent command line…

Read more

With the advent of cloud platform services, many PaaS providers offer free hosting service as their basic plan. This…

Read more

The Best Tutorials & Tips to Speedup Your DevOps Workflow.

Created by Bibin Wilson.