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 36637
3 nubs 36335
4 JWvdVeer 31437
5 henrik 29625
6 activekim 29462
7 Wim 29445
8 jth 25691
9 vgadge 24787
10 linepogl 24564
11 scottholdren 23842
12 ToastyX 23137
13 lheurt 22000
14 cecilozaur 17696
15 Ock 17066
16 ralf 16790
17 nishanth 16721
18 jt2k 16605
19 eremit 16601
20 holyshart 15568
Recent Activity
Username Challenge Time ago Bytes Result
activekim Caesars Box August 21 2014, 03:47:27 97
activekim Yatzy August 20 2014, 06:10:41 288
activekim Yatzy August 20 2014, 05:31:36 331
activekim Yatzy August 20 2014, 05:00:07 319
wechselbalg Yatzy August 19 2014, 16:24:24 395
activekim Lorem Ipsum August 19 2014, 06:34:22 4466
activekim Lorem Ipsum August 19 2014, 05:30:32 5074
activekim Eight Queens August 19 2014, 03:35:09 290
wechselbalg 7-segment August 18 2014, 19:23:11 269
wechselbalg 7-segment August 18 2014, 19:16:21 268
wechselbalg phpGolf August 18 2014, 16:47:26 324
activekim Vigenere Table August 18 2014, 04:05:53 45
vird Minesweeper August 15 2014, 17:24:20 162
vird Minesweeper August 15 2014, 17:21:45 161
vird Vigenere Table August 15 2014, 16:45:52 49
vird LFSR August 15 2014, 15:34:55 84
vird Eulers Totient August 15 2014, 15:20:25 88
vird Eulers Totient August 15 2014, 15:11:49 86
vird Eulers Totient August 15 2014, 14:59:11 67
vird Harshad Numbers August 15 2014, 14:43:07 58