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 nubs 37228
3 vird 36576
4 activekim 32264
5 JWvdVeer 31437
6 Wim 30410
7 henrik 29705
8 jth 28979
9 vgadge 24726
10 scottholdren 24695
11 linepogl 24503
12 ToastyX 23137
13 lheurt 22000
14 mariusz00 21210
15 cecilozaur 18203
16 wechselbalg 17290
17 eremit 17274
18 Ock 17066
19 ralf 16790
20 nishanth 16721
Recent Activity
Username Challenge Time ago Bytes Result
bookworm FizzBuzz November 20 2014, 09:55:54 267
nubs Harshad Numbers November 17 2014, 23:06:40 57
nubs Harshad Numbers November 17 2014, 23:03:06 59
nubs Harshad Numbers November 17 2014, 22:55:05 64
gymclothes Vigenere Table November 17 2014, 06:09:46 98
gymclothes LFSR November 17 2014, 05:47:33 187
gymclothes LFSR November 17 2014, 05:41:57 176
gymclothes Harshad Numbers November 17 2014, 04:42:08 77
gymclothes Harshad Numbers November 17 2014, 04:35:30 82
gymclothes Harshad Numbers November 17 2014, 04:30:19 81
Steinigtmich Lucky Number November 15 2014, 20:53:47 113
Steinigtmich JSON November 14 2014, 20:53:56 66
Steinigtmich JSON November 14 2014, 20:46:16 64
Steinigtmich Upper Case First November 14 2014, 20:43:34 37
mariusz00 XML Tree November 14 2014, 14:05:13 68
mariusz00 XML Tree November 14 2014, 13:30:31 71
mariusz00 XML Tree November 14 2014, 13:20:04 74
mariusz00 XML Tree November 14 2014, 13:17:01 75
mariusz00 XML Tree November 14 2014, 13:13:57 74
mariusz00 XML Tree November 14 2014, 13:13:49 71