CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



gerble1000
User

Oct 5, 2012, 3:48 PM

Post #1 of 5 (1473 views)
is php a form of perl Can't Post

is php a form of perl as the coding looks identical


FishMonger
Veteran / Moderator

Oct 5, 2012, 5:26 PM

Post #2 of 5 (1470 views)
Re: [gerble1000] is php a form of perl [In reply to] Can't Post

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


gerble1000
User

Oct 6, 2012, 12:42 AM

Post #3 of 5 (1463 views)
Re: [FishMonger] is php a form of perl [In reply to] Can't Post

its just i heard that php derived from perl.


Laurent_R
Veteran / Moderator

Oct 6, 2012, 1:10 AM

Post #4 of 5 (1462 views)
Re: [gerble1000] is php a form of perl [In reply to] Can't Post

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

Post #5 of 5 (1459 views)
Re: [Laurent_R] is php a form of perl [In reply to] Can't Post

cool, chears for the info

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives