Re: PERL vs. PHP

From: Date: Sat, 21 Apr 2001 11:45:19 +0000
Subject: Re: PERL vs. PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-49659@lists.php.net to get a copy of this message
"Rasmus Lerdorf" <rasmus@php.net> wrote in message news:Pine.LNX.4.30.0104201514200.901-100000@rasmus.php.net... > > but since you replied, can i ask what influenced you most > > when developing PHP? > > Whenever I couldn't decide what sort of syntax to use I copied C > > -Rasmus This makes me think that any similarities to Perl are merely an accident. Perl was written so that programmers of C (and several other languages) could easily learn Perl and write in a comfortable subset of Perl syntax. I've seen a lot of Perl that looks like C and a lot that doesn't. I had a friend remark how similar PHP is to Basic. I think PHP's similarities to Perl end after the "$" symbol, associative arrays, and object syntax (borrowed from C++?). As someone already mentioned, Perl is a much more mature language. Dean.

« previous php.general (#49659) next »