Hello.

Is PHP hard to learn? :sweat:
I would like to incorporate it on my website.

Thanks!

PHP is fairly easy to learn in my opinion. It is also easy, however, to write vulnerable code when you are learning.

What is it you intend to accomplish?

If you know any other C descendant programming language than PHP will be a cake if you don’t consider starting with JavaScript to learn just the basics.

PHP is easy to learn as long as you are committed to learn into it.

I know some of C++.
What is PHP normally used for?
I am thinking about incorporating into my web site.

Thanks

You are looking at this the wrong way around. If you don't understand what PHP is used for, then what is your logic in wanting to incorporate it into your website? Unless your intent is just to learn another language, it is a matter of looking at requirements and then trying to match them up with what PHP or some other language can do. Even if you just want to learn another language, it is a significant commitment of time and effort to do that. You want to be sure that you make the right choice.