in reply to Re: Re: Perl vs. PHP
in thread Perl vs. PHP

Not to claim that I know anything about PHP (I don't), but I have dim memories of C (and I just took a look at your links), and I will indulge in one smart-ass nit-pick: if you're confusing strcmp and strncmp, you may be in for a nasty surprise... that 'n' isn't part "string", it's an integer argument to the function telling it how many characters are significant for purposes of this comparison (that is, strncmp("bar","baz",2) indicates no difference).



If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders

Replies are listed 'Best First'.
Re: Re: Re: Re: Perl vs. PHP
by ignatz (Vicar) on May 20, 2002 at 21:42 UTC
    Ahhh, Nobel Chem Lad, you have foiled my argument well. You are indeed correct as to PHP's dusty lineage. The fact that it would be very easy for them to simply overload strcmp for the third parameter to make a clean, consistant and simpler naming scheme unfortunately in no way adds to the humor of my erroneous attempt at mirth.
    ()-()
     \"/
      `