PHP Newsletter

Join now and receive weekly updates pertianing to the world of PHP.

Polls

What do you think about the new PHPMine Design?
Awesome
Not Bad
Sucks

PHP Gigs By City

PHP Jobs By Topic

Advertisements

How much Is it important to know C++ before learning PHP.?

Asked 2010-02-06 02:00:01 by Ketan Kothari

I would like to learn PHP. What is the first step to begin learning PHP. Or Should I know other language first to learn PHP.

Anwered 2010-02-06 02:04:38 by Ben

You don't need to know any language to learn any other language you want. Personally, I prefer Python and Ruby to PHP- the syntax is much easier, but you can start off with whatever you want. The first step to learning any programming language is to get a book or tutorial for the language and then look at some code. See if you can figure out what it means.

Anwered 2010-02-06 02:54:30 by spk

Well, you don't need a background of C++ to learn PHP.

However, you need a background in HTML and maybe a little in JavaScript.

Knowing C++ or another scripting/programming language will make learning PHP easier.

http://www.w3schools.com/

Where I learned from.

Anwered 2010-02-06 02:04:38 by Pete S

Just dive into PHP, a background in C++ isn't really necessary as they just have similar syntax. After you're comfortable with PHP, then you might want to learn C++ as sometimes you'll need to write C++ programs which run faster then PHP for complex tasks.

Anwered 2010-02-06 23:05:34 by Tharaka Deshan

You can directly move in to PHP without learning C++. But it is better to understand OOP concepts to be a good PHP programmer.PHP Syntax are not much similar to C++ , but it has some similarities with Java.
Good Luck!

Questions and answers provided by the Yahoo Answers Community.