PHP allows you to call function by value and reference both. In case of PHP call by value, actual value is not modified if it is modified inside the function.
In case of PHP call by reference, actual value is modified if it is modified inside the function. In such case, you need to use & (ampersand) symbol with formal arguments. The & represents reference of the variable.