What is phpGolf?

phpGolf is a code golf server for the PHP programming language.

The term comes from the original Perl Golf, where the goal is to solve programming challenges with as few bytes as possible.
Just like in real golf where players aspire to get the ball in the hole with as few strokes as possible.

This is not a place to learn about good programming practice. This is just for fun.

Please read the documentation page before you continue.
Come and join us for a friendly chat on #phpgolf@Freenode and get updates @phpGolf. Also here is a RSS for recent activity and comments.

Want to learn to golf like a pro? Check out our tips & tricks article.

Top 20 Golfers
Rank Username Score
1 primo 51000
2 mariusz00 37354
3 nubs 37216
4 vird 36566
5 activekim 34587
6 JWvdVeer 31424
7 Wim 30396
8 henrik 29695
9 jth 28979
10 vgadge 24713
11 scottholdren 24685
12 linepogl 24496
13 ToastyX 23137
14 lheurt 21989
15 cecilozaur 18203
16 jt2k 17462
17 wechselbalg 17281
18 eremit 17264
19 Ock 17053
20 ralf 16780
Recent Activity
Username Challenge Time ago Bytes Result
alexmihai Harshad Numbers March 01 2015, 19:33:15 453
sthashree Harshad Numbers February 27 2015, 21:56:44 81
sthashree Harshad Numbers February 27 2015, 21:47:38 90
sthashree Harshad Numbers February 27 2015, 21:30:58 114
sthashree Harshad Numbers February 26 2015, 22:44:04 114
sthashree Harshad Numbers February 26 2015, 22:41:34 112
sthashree Harshad Numbers February 26 2015, 22:38:15 112
sthashree FizzBuzz February 26 2015, 21:20:19 57
sthashree FizzBuzz February 26 2015, 21:12:27 57
sthashree FizzBuzz February 26 2015, 20:52:03 58
sthashree FizzBuzz February 26 2015, 15:27:41 59
sthashree FizzBuzz February 26 2015, 06:19:43 61
sthashree FizzBuzz February 26 2015, 06:17:51 61
sthashree FizzBuzz February 26 2015, 06:14:23 57
sthashree FizzBuzz February 26 2015, 06:11:00 59
sthashree FizzBuzz February 26 2015, 05:39:32 54
ptwvl XML Tree February 17 2015, 18:53:52 119
ptwvl XML Tree February 17 2015, 18:36:25 129
ptwvl XML Tree February 17 2015, 18:30:48 99
ptwvl XML Tree February 17 2015, 18:30:34 452