Home: Perl Programming Help: Beginner:
is php a form of perl



gerble1000
User

Oct 5, 2012, 3:48 PM


Views: 3065
is php a form of perl

is php a form of perl as the coding looks identical


FishMonger
Veteran / Moderator

Oct 5, 2012, 5:26 PM


Views: 3062
Re: [gerble1000] is php a form of perl

No. They are two separate languages with similar, not identical, syntax.


gerble1000
User

Oct 6, 2012, 12:42 AM


Views: 3055
Re: [FishMonger] is php a form of perl

its just i heard that php derived from perl.


Laurent_R
Veteran / Moderator

Oct 6, 2012, 1:10 AM


Views: 3054
Re: [gerble1000] is php a form of perl

Perl and PHP have a relatively similar syntax, because both have their basic syntax derived from the C language syntax (and to a lesser extent from the Unix shell syntax).

I really don't think it can be said that PHP is derived from Perl, but is is quite possible that some of the Perl constructs have been reused in PHP.

To tell the truth, the very first version of PHP (back in 1995) was actully a collection of Perl scripts. But current versions pf PHP have very little in common with those early attempts.


(This post was edited by Laurent_R on Oct 6, 2012, 1:38 AM)


gerble1000
User

Oct 6, 2012, 1:40 AM


Views: 3051
Re: [Laurent_R] is php a form of perl

cool, chears for the info