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 nubs 37228
3 vird 36576
4 activekim 32264
5 JWvdVeer 31437
6 Wim 30410
7 henrik 29705
8 jth 28979
9 vgadge 24726
10 scottholdren 24695
11 linepogl 24503
12 ToastyX 23137
13 lheurt 22000
14 mariusz00 21210
15 cecilozaur 18203
16 wechselbalg 17290
17 eremit 17274
18 Ock 17066
19 ralf 16790
20 nishanth 16721
Recent Activity
Username Challenge Time ago Bytes Result
wan2land Math Evaluator November 24 2014, 03:59:03 57
wan2land Math Evaluator November 24 2014, 03:50:21 154
wan2land Math Evaluator November 24 2014, 03:44:44 352
wan2land Math Evaluator November 24 2014, 03:31:54 351
bernikr FizzBuzz November 23 2014, 22:54:24 69
bernikr FizzBuzz November 23 2014, 22:51:39 73
Steinigtmich Harshad Numbers November 23 2014, 21:32:19 59
Steinigtmich Upper Case First November 23 2014, 21:24:01 36
ani2life Sorting November 22 2014, 19:53:19 66
hslee Sorting November 22 2014, 19:51:56 77
hslee Sorting November 22 2014, 19:50:48 79
ani2life Sorting November 22 2014, 19:46:55 73
hslee Sorting November 22 2014, 19:46:02 87
hslee Sorting November 22 2014, 19:45:03 136
staringstar Sorting November 22 2014, 19:42:43 86
staringstar Sorting November 22 2014, 19:39:24 64
staringstar Sorting November 22 2014, 19:38:50 61
hslee Sorting November 22 2014, 19:31:01 284
hslee Sorting November 22 2014, 19:29:42 388
staringstar Sorting November 22 2014, 19:29:31 154