Is there no way to access the $x within the inner function: function outer() { $x = 50; function inner() { echo $x; } inner(); } Global in the inner function does not work. I do not want to have $x global for all. Hannes Schmiderer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP] nested functions Johannes Schmiderer
- Re: [PHP] nested functions Gyozo Papp
- Re: [PHP] nested functions elias
- Re: [PHP] nested functions Hannes Schmiderer
- Re: [PHP] nested functions Christian Reiniger
- Re: [PHP] nested functions Hannes Schmiderer
- [PHP] Nested functions DL Neil
- Re: [PHP] Nested functions Lars Torben Wilson
- Re: [PHP] Nested functions DL Neil