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 17696
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
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
wechselbalg Minesweeper September 09 2014, 16:49:56 262
wechselbalg Minesweeper September 09 2014, 14:39:43 442
primo Vowels and Consonants September 09 2014, 12:15:14 77
primo Vowels and Consonants September 09 2014, 10:39:39 78
primo Vowels and Consonants September 09 2014, 10:37:10 79
primo Vowels and Consonants September 09 2014, 04:13:16 81
primo Vowels and Consonants September 09 2014, 04:08:38 80
jth Sorting September 08 2014, 23:07:45 58
jth Sorting September 08 2014, 22:28:00 58
jth Sorting September 08 2014, 22:24:05 59