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 mariusz00 37354
3 nubs 37216
4 vird 36566
5 activekim 34587
6 henrik 31602
7 JWvdVeer 31424
8 Wim 30396
9 jth 28979
10 vgadge 24777
11 scottholdren 24685
12 linepogl 24496
13 ToastyX 23137
14 lheurt 21989
15 cecilozaur 18203
16 jt2k 17462
17 wechselbalg 17281
18 eremit 17264
19 Ock 17053
20 ralf 16780
Recent Activity
Username Challenge Time ago Bytes Result
regios Eulers Totient March 25 2015, 20:49:06 205
regios Eulers Totient March 25 2015, 20:13:59 211
henrik LZW March 25 2015, 16:37:05 128
henrik LZW March 25 2015, 16:19:27 132
henrik LZW March 25 2015, 16:06:39 139
henrik LZW March 25 2015, 16:02:08 142
regios Harshad Numbers March 24 2015, 21:55:16 59
regios Harshad Numbers March 24 2015, 21:33:19 61
regios Harshad Numbers March 24 2015, 21:21:52 61
regios Harshad Numbers March 24 2015, 21:20:10 61
elgull FizzBuzz March 24 2015, 10:20:08 56
henrik LZW March 23 2015, 21:54:51 113
henrik LZW March 23 2015, 21:43:22 113
henrik LZW March 23 2015, 21:37:22 135
henrik LZW March 23 2015, 21:08:27 152
henrik LZW March 23 2015, 20:53:38 172
henrik LZW March 23 2015, 20:44:10 230
henrik LZW March 23 2015, 20:27:13 216
henrik LZW March 23 2015, 19:33:50 209
vgadge Primes March 20 2015, 20:59:59 52