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 29564
8 jth 28979
9 vgadge 24726
10 scottholdren 24695
11 linepogl 24503
12 ToastyX 23137
13 lheurt 22000
14 mariusz00 19962
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
mariusz00 Kaprekars Constant October 22 2014, 15:46:23 102
mariusz00 Kaprekars Constant October 22 2014, 15:36:36 104
mariusz00 Kaprekars Constant October 22 2014, 15:06:15 116
gcarvalho97 Fibonacci October 20 2014, 19:49:51 76
scottholdren Harshad Numbers October 20 2014, 19:35:50 60
scottholdren Harshad Numbers October 20 2014, 18:33:43 100
mariusz00 Kaprekars Constant October 17 2014, 15:53:36 119
mariusz00 Pacman October 16 2014, 14:45:39 140
mariusz00 Pacman October 16 2014, 12:33:18 142
mariusz00 Pacman October 16 2014, 12:28:22 140
mariusz00 Pacman October 16 2014, 11:57:42 217
mariusz00 Pacman October 16 2014, 11:47:01 211
mariusz00 Pacman October 16 2014, 11:44:19 208
mariusz00 Pacman October 16 2014, 11:15:34 227
ioesandeep Fibonacci October 15 2014, 21:46:10 62
ioesandeep Fibonacci October 15 2014, 21:39:51 70
ioesandeep Fibonacci October 15 2014, 21:18:47 75
ioesandeep Fibonacci October 15 2014, 21:13:55 76
ioesandeep Fibonacci October 15 2014, 21:06:05 82
ioesandeep Fibonacci October 15 2014, 21:01:10 123