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 henrik 29564
7 Wim 29445
8 jth 28979
9 vgadge 24726
10 linepogl 24503
11 scottholdren 23778
12 ToastyX 23137
13 lheurt 22000
14 cecilozaur 18203
15 wechselbalg 17070
16 Ock 17066
17 ralf 16790
18 nishanth 16721
19 eremit 16601
20 jt2k 16539
Recent Activity
Username Challenge Time ago Bytes Result
kingless Harshad Numbers September 21 2014, 03:24:13 275
erikedpeters Rot 13 September 20 2014, 05:49:56 158
mariusz00 Look and Say September 18 2014, 14:59:37 115
mariusz00 Triangular Numbers September 18 2014, 11:48:21 31
mariusz00 Triangular Numbers September 18 2014, 11:41:54 32
mariusz00 7-segment September 18 2014, 11:05:11 202
mariusz00 7-segment September 18 2014, 09:26:41 201
mariusz00 7-segment September 18 2014, 09:24:01 201
cecilozaur Vowels and Consonants September 15 2014, 13:22:41 152
cecilozaur Vowels and Consonants September 15 2014, 13:14:54 178
primo Vowels and Consonants September 11 2014, 20:00:36 78
jth Vowels and Consonants September 10 2014, 21:39:38 74
ourweakness Rot 13 September 10 2014, 09:43:45 338
ourweakness Rot 13 September 10 2014, 09:38:36 338
jth Vowels and Consonants September 10 2014, 00:18:06 66
jth Vowels and Consonants September 10 2014, 00:10:01 79
jth Vowels and Consonants September 09 2014, 23:11:51 79
wechselbalg Sudoku Validator September 09 2014, 18:12:20 278
wechselbalg Happy Numbers September 09 2014, 17:18:52 116
wechselbalg Minesweeper September 09 2014, 16:55:09 262