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 34718
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 tleilax 17897
17 jt2k 17462
18 wechselbalg 17281
19 eremit 17264
20 Ock 17053
Recent Activity
Username Challenge Time ago Bytes Result
ranabd36 Upper Case First May 27 2015, 13:30:56 359
ranabd36 Upper Case First May 27 2015, 13:12:51 227
marm Base Numbers May 25 2015, 23:58:22 243
marm Palindromes May 25 2015, 23:57:23 54
marm Juggler Sequence May 25 2015, 23:57:03 64
marm Palindromes May 25 2015, 23:55:45 174
marm Juggler Sequence May 25 2015, 23:55:19 160
marm Upper Case First May 23 2015, 02:38:57 65
marm Upper Case First May 23 2015, 02:12:46 112
marm Upper Case First May 23 2015, 01:33:52 130
marm Spiral May 23 2015, 01:04:06 340
marm Spiral May 23 2015, 00:48:00 319
marm Spiral May 23 2015, 00:44:47 310
marm Upper Case First May 23 2015, 00:21:46 226
marm Triangular Numbers May 23 2015, 00:21:20 55
marm Spiral May 23 2015, 00:20:04 291
stefangrage Harshad Numbers May 21 2015, 21:13:26 94
stefangrage Harshad Numbers May 21 2015, 21:06:51 95
stefangrage Harshad Numbers May 21 2015, 21:01:23 102
stefangrage Harshad Numbers May 21 2015, 20:53:47 159