Best Tutorials website


Php - Scope of Variables

Php - Scope of Variables

We just introduced functions, now along with functions comes Scope of variables. In common day terms, let me try to explain scope. If you have 4 tvs in different rooms, with 4 cables box. Then each tv can show a
different channel, however, if you have 4 tvs, and 3 cables boxes and 2 tvs sharing a cable box. Then you will only have 3 different shows. So that 2 tvs share the same show and the other 2 tvs, showing their own shows. That is how scope works..




Views: 480 | Rating star | by Colin




View this tutorial
Broken link Report broken link?