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 36637
3 nubs 36335
4 JWvdVeer 31437
5 activekim 29898
6 henrik 29625
7 Wim 29445
8 jth 25691
9 vgadge 24787
10 linepogl 24564
11 scottholdren 23842
12 ToastyX 23137
13 lheurt 22000
14 cecilozaur 17696
15 Ock 17066
16 ralf 16790
17 nishanth 16721
18 jt2k 16605
19 eremit 16601
20 holyshart 15568
Recent Activity
Username Challenge Time ago Bytes Result
mariusz00 7-segment August 29 2014, 16:20:07 229
mariusz00 7-segment August 29 2014, 16:07:29 424
mariusz00 7-segment August 29 2014, 16:07:08 451
mariusz00 Happy Numbers August 29 2014, 10:11:59 83
mariusz00 Happy Numbers August 29 2014, 10:08:46 86
mariusz00 Happy Numbers August 27 2014, 15:58:57 88
mariusz00 Happy Numbers August 27 2014, 15:39:31 90
mariusz00 Happy Numbers August 27 2014, 15:26:26 92
wechselbalg Primes August 26 2014, 14:11:35 74
activekim phpGolf August 26 2014, 06:48:22 172
activekim 99 Bottles August 26 2014, 06:44:29 202
activekim 99 Bottles August 26 2014, 06:42:39 203
wechselbalg Math Evaluator August 25 2014, 17:50:26 44
wechselbalg Math Evaluator August 25 2014, 17:00:30 67
wechselbalg Math Evaluator August 25 2014, 16:57:30 61
mariusz00 Happy Numbers August 25 2014, 16:00:30 98
mariusz00 Happy Numbers August 25 2014, 15:49:23 132
wechselbalg Lucky Number August 25 2014, 15:35:10 121
wechselbalg Caesars Box August 25 2014, 13:15:24 152
wechselbalg Caesars Box August 25 2014, 12:41:43 130