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 32311
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
trauma2u FizzBuzz November 28 2014, 15:30:05 59
trauma2u Harshad Numbers November 28 2014, 15:09:17 59
wan2land Alphabet Patterns November 28 2014, 11:37:28 157
wan2land Alphabet Patterns November 28 2014, 11:20:35 158
wan2land Alphabet Patterns November 28 2014, 11:05:33 195
wan2land Alphabet Patterns November 28 2014, 10:53:39 230
wan2land Alphabet Patterns November 28 2014, 10:51:29 366
activekim Sorting November 28 2014, 05:50:38 68
activekim Sorting November 28 2014, 03:00:58 57
joony1017 Sorting November 27 2014, 17:59:26 65
joony1017 Sorting November 27 2014, 17:57:45 65
wan2land Sorting November 27 2014, 12:15:15 61
wan2land Harshad Numbers November 27 2014, 12:09:45 57
trauma2u FizzBuzz November 27 2014, 07:07:52 64
trauma2u FizzBuzz November 27 2014, 07:06:27 64
trauma2u Eulers Totient November 27 2014, 03:50:50 117
trauma2u Eulers Totient November 27 2014, 03:38:01 120
wan2land Eulers Totient November 26 2014, 18:30:23 122
wan2land Eulers Totient November 26 2014, 18:24:30 123
wan2land Eulers Totient November 26 2014, 18:16:39 132