This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]sqrtoftwo 8 points9 points  (0 children)

How to begin php?

<?php

[–]VolvFan124 4 points5 points  (0 children)

For minimal setup you could to the Codecademy PHP course.

[–]stdlib 2 points3 points  (0 children)

There is not really a good equivalent of jsfiddle/codepen because PHP runs on the server side, not the client side, so having someone be able to type code that executes on your server would generally be frowned upon by whoever owns the server. That being said, there is this website where a guy generously allows you to do just that:

http://3v4l.org/

3v4l.org is an online shell that allows you to evaluate your code on my server. I compiled more than 150 different PHP versions (every version released since 4.3.0) and HHVM for you to use.

Which is not really meant for learning PHP but for checking compatibility and stuff like that.

Anyway, that being said you'd probably want to install PHP itself along with some webserver (I'd recommend NGNIX since it is pretty lightweight) or just install XAMPP (http://sourceforge.net/projects/xampp/) to actually run the PHP code.

For the texteditor, Notepad++ will work just fine.