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
Atte Harshad Numbers June 26 2015, 17:58:45 59
Atte Harshad Numbers June 26 2015, 17:56:50 60
Atte Harshad Numbers June 26 2015, 17:44:03 60
Atte Harshad Numbers June 26 2015, 17:37:41 70
Seipas Fibonacci June 24 2015, 16:55:22 50
Seipas Fibonacci June 24 2015, 16:32:43 54
Seipas Fibonacci June 24 2015, 16:13:07 58
Seipas Fibonacci June 24 2015, 15:45:19 63
nsdictionary 99 Bottles June 11 2015, 09:25:09 184
marm Fibonacci June 04 2015, 05:42:59 68
marm Fibonacci June 04 2015, 05:41:55 67
marm Fibonacci June 04 2015, 05:38:08 66
Kalindor Math Evaluator May 31 2015, 13:35:14 73
Kalindor FizzBuzz May 31 2015, 13:29:55 74
Kalindor FizzBuzz May 31 2015, 13:28:06 78
Kalindor Math Evaluator May 31 2015, 13:08:55 71
Kalindor Math Evaluator May 31 2015, 13:06:59 77
Kalindor Math Evaluator May 31 2015, 13:05:44 82
Kalindor Harshad Numbers May 31 2015, 12:31:29 65
ranabd36 Upper Case First May 27 2015, 14:00:33 444