What is phpGolf?

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

The term comes from the original Perl Golf, where the point 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.
Join the chat on ##phpgolf@Freenode and get updates @phpGolf. Also here is a RSS feed.

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

Top 20 Golfers
Rank Username Score
1 primo 35858
2 JWvdVeer 31904
3 Wim 25500
4 lheurt 23137
5 nubs 21274
6 ToastyX 20384
7 linepogl 16326
8 ralf 15688
9 jth 15581
10 scottholdren 15564
11 helge 15441
12 vgadge 14616
13 sl1m 13785
14 Ock 13571
15 henrik 12995
16 holyshart 12834
17 garas 12775
18 tleilax 11938
19 bakkerl 11878
20 jt2k 11493
Recent Activity
Username Challenge Time ago Bytes Result
joeynovak Lucky Number February 16 2012, 01:50:02 190
joeynovak Lucky Number February 16 2012, 01:49:19 205
joeynovak Lucky Number February 16 2012, 01:47:28 205
joeynovak Lucky Number February 16 2012, 01:44:23 484
joeynovak Lucky Number February 16 2012, 01:34:40 479
joeynovak Lucky Number February 16 2012, 01:33:55 483
joeynovak Lucky Number February 16 2012, 01:29:09 532
joeynovak Lucky Number February 16 2012, 01:11:36 469
PatrickBic Primes February 03 2012, 10:57:57 87
PatrickBic Primes February 03 2012, 10:56:27 86
PatrickBic Primes February 03 2012, 08:56:32 86
primo 7-segment January 27 2012, 04:11:55 115
Ock Blackjack January 26 2012, 17:14:34 33
Ock Blackjack January 26 2012, 15:54:48 54
Ock Lorem Ipsum January 26 2012, 12:40:23 2755
Ock Lorem Ipsum January 26 2012, 12:37:13 2745
PatrickBic Primes January 25 2012, 13:46:26 86
PatrickBic Primes January 25 2012, 13:43:02 87
alakani Permutation2 January 24 2012, 21:33:48 226
minus Primes January 24 2012, 17:23:14 441