Hopsel: Variable Variabeln außerhalb einer for-Schleife

Beitrag lesen

Hi Spirs!

Ist das eine Angewohnheit von PHP, variable Variabeln nur in der Schleife in der sie generiert wurden gültig sind?

AFIAK ist das ein Prinzip, dass fast allen Programmiersprachen zugrundeliegt.

http://de2.php.net/manual/en/language.variables.scope.php

MfG H☼psel

--
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)