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 32311
5 JWvdVeer 31437
6 Wim 30410
7 henrik 29705
8 jth 28979
9 mariusz00 25273
10 vgadge 24726
11 scottholdren 24695
12 linepogl 24503
13 ToastyX 23137
14 lheurt 22000
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
wan2land 99 Bottles December 18 2014, 07:05:51 242
wan2land 99 Bottles December 18 2014, 06:57:30 289
Ares 99 Bottles December 17 2014, 17:33:55 443
Ares 99 Bottles December 17 2014, 17:33:39 443
Ares Vigenere Table December 17 2014, 17:14:52 378
Ares Vigenere Table December 17 2014, 17:13:56 382
Ares Vigenere Table December 17 2014, 17:12:26 382
Ares Vigenere Table December 17 2014, 17:12:01 382
Ares Harshad Numbers December 17 2014, 16:49:39 1369
Ares Harshad Numbers December 17 2014, 16:48:57 1373
Ares Harshad Numbers December 17 2014, 16:46:56 1336
mariusz00 Equivalence December 16 2014, 15:46:44 86
mariusz00 Equivalence December 16 2014, 15:45:59 90
mariusz00 Equivalence December 16 2014, 15:28:54 88
mariusz00 Equivalence December 16 2014, 15:01:05 103
mariusz00 Equivalence December 16 2014, 13:28:32 147
mariusz00 Equivalence December 16 2014, 13:19:16 151
mariusz00 Extended Euclidean December 15 2014, 15:43:18 132
mariusz00 Extended Euclidean December 15 2014, 15:19:34 132
mariusz00 Extended Euclidean December 11 2014, 14:34:41 134