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
tux 99 Bottles August 23 2014, 02:57:51 197
tux 99 Bottles August 23 2014, 00:59:08 199
tux 99 Bottles August 23 2014, 00:01:10 200
MrLSK Yatzy August 22 2014, 22:40:35 323
thenewcoder Palindromes August 22 2014, 21:12:00 52
MrLSK 99 Bottles August 22 2014, 21:10:01 212
thenewcoder Palindromes August 22 2014, 21:08:27 55
MrLSK 99 Bottles August 22 2014, 21:02:48 342
thenewcoder Palindromes August 22 2014, 20:56:11 58
MrLSK 99 Bottles August 22 2014, 20:37:55 215
MrLSK 99 Bottles August 22 2014, 20:27:45 219
MrLSK 99 Bottles August 22 2014, 18:35:57 230
MrLSK 99 Bottles August 22 2014, 17:37:10 255
wechselbalg Farey Sequence August 22 2014, 15:43:03 255
nubs Harshad Numbers August 22 2014, 15:28:30 59
mariusz00 Happy Numbers August 22 2014, 15:21:26 281
mariusz00 Happy Numbers August 22 2014, 15:00:57 310
mariusz00 CRC32 August 22 2014, 14:25:29 223
Steinigtmich phpGolf August 22 2014, 14:20:54 140
activekim Caesars Box August 21 2014, 03:47:27 97