[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]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: php variablen printer ikke



On Sat, 28 Aug 2010 15:02:55 +0000, Olof wrote:

> On 2010-08-28 16:58, Adam Sjøgren 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?

> Ja, jag tänker speciellt på Perl.

>         if(1) {
>                 my $a = 1;
>         }

>         print "$a\n";

Der blev ikke brugt nogen "my"-ækvivalent i PHP-kodestumpen - PHP
opførte sig præcis som Perl (Python og Ruby)!


  :-),

   Adam

-- 
 "Angels can fly because they take themselves lightly."       Adam Sjøgren
                                                         sslug@sslug


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-09-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *