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 45000
2 nubs 32509
3 vird 32187
4 JWvdVeer 31437
5 Wim 29445
6 jth 25783
7 linepogl 24583
8 scottholdren 23090
9 ToastyX 22137
10 lheurt 22012
11 Ock 17066
12 ralf 16790
13 nishanth 16721
14 jt2k 16605
15 eremit 16601
16 vgadge 16352
17 holyshart 15568
18 helge 15351
19 henrik 14776
20 bakkerl 14586
Recent Activity
Username Challenge Time ago Bytes Result
vgadge FizzBuzz May 23 2013, 19:46:41 56
henrik FizzBuzz May 23 2013, 16:14:13 58
dxstuk FizzBuzz May 23 2013, 12:56:21 432
vgadge FizzBuzz May 23 2013, 03:40:22 60
vgadge FizzBuzz May 23 2013, 03:31:14 63
vgadge FizzBuzz May 23 2013, 03:25:10 69
henrik FizzBuzz May 22 2013, 22:59:50 73
henrik FizzBuzz May 22 2013, 22:58:11 73
primo IPv6 Compression May 21 2013, 12:35:17 66
primo IPv6 Compression May 21 2013, 12:11:22 68
primo IPv6 Compression May 21 2013, 11:06:56 78
vird IPv6 Compression May 21 2013, 09:50:02 135
vird IPv6 Compression May 21 2013, 09:44:59 173
vird IPv6 Compression May 21 2013, 09:26:11 138
primo IPv6 Compression May 21 2013, 06:49:34 91
primo IPv6 Compression May 21 2013, 06:43:23 88
primo IPv6 Compression May 21 2013, 06:23:17 86
vird IPv6 Compression May 20 2013, 20:30:09 129
vird IPv6 Compression May 20 2013, 20:20:13 134
vird IPv6 Compression May 20 2013, 17:56:21 123