[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
On Sat, 28 Aug 2010 14:50:52 +0000, Olof wrote: > Ah, naturligtvis. Har dålig koll på PHP, och antog att det uppförde sig > som andra språk vad det gäller scoping. Men du har såklart rätt. Du mener som Python, Ruby eller Perl5? $ python Python 2.6.6 (r266:84292, Aug 27 2010, 19:38:21) [GCC 4.4.5 20100816 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> if (1): ... a="Hej" ... >>> print a Hej >>> $ ruby if 1 a="Hej" end print "#{a}\n" Hej $ $ perl -M5.10.0 if (1) { $a="Hej" } say $a Hej $ Mvh. Adam -- "Angels can fly because they take themselves lightly." Adam Sjøgren sslug@sslug
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |