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 vird 36576
3 nubs 36263
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 20409
15 cecilozaur 18203
16 wechselbalg 17290
17 Ock 17066
18 ralf 16790
19 nishanth 16721
20 eremit 16601
Recent Activity
Username Challenge Time ago Bytes Result
triangle Palindromes November 01 2014, 06:09:36 45
triangle Triangular Numbers November 01 2014, 05:36:44 33
triangle Triangular Numbers November 01 2014, 05:30:12 34
Steinigtmich Pacman October 30 2014, 09:14:25 128
Steinigtmich Pacman October 30 2014, 09:05:58 127
Steinigtmich Vigenere Table October 30 2014, 08:50:53 47
Adelphia 99 Bottles October 30 2014, 04:32:26 190
Adelphia 99 Bottles October 30 2014, 04:08:04 123
henrik Minesweeper October 28 2014, 20:26:12 132
henrik Minesweeper October 28 2014, 16:54:09 157
henrik Minesweeper October 28 2014, 16:51:30 160
mariusz00 Sierpinski Triangle October 27 2014, 12:11:23 152
ctd1500 99 Bottles October 25 2014, 04:43:14 223
ctd1500 99 Bottles October 25 2014, 04:41:54 310
mariusz00 Sierpinski Triangle October 24 2014, 15:00:25 154
mariusz00 Sierpinski Triangle October 24 2014, 14:20:52 167
mariusz00 Sierpinski Triangle October 24 2014, 14:09:55 171
mariusz00 Sierpinski Triangle October 24 2014, 14:08:44 169
mariusz00 Sierpinski Triangle October 24 2014, 14:07:51 210
mariusz00 Sierpinski Triangle October 24 2014, 13:56:46 159