Multiple assignment in PHP

It is possible to assign the same value in PHP to more than one variable at the same time. It is done via assigning first variable to second one, second one to a third one and so on. Last variable in this list will be assigned to a value. All of the variables in this list will be assigned to the same value. It is called "multiple assignment".

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator