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
jdr000 Harshad Numbers August 28 2015, 21:28:39 483
jdr000 Harshad Numbers August 28 2015, 21:10:41 270
marm Happy Numbers August 28 2015, 02:00:19 147
marm Happy Numbers August 28 2015, 01:48:47 265
marm Rot 13 August 28 2015, 01:14:59 70
frode Pacman August 28 2015, 00:59:32 99
shryu Triangular Numbers August 27 2015, 07:07:15 45
shryu Morse August 27 2015, 06:58:54 511
shryu Morse August 27 2015, 06:53:08 511
shryu Happy Numbers August 27 2015, 06:48:45 184
shryu Morse August 27 2015, 06:43:49 511
shryu Morse August 27 2015, 06:36:35 511
shryu Morse August 27 2015, 06:32:13 506
shryu Morse August 27 2015, 06:24:55 503
marm Pascals Triangle August 27 2015, 03:54:06 364
marm Pascals Triangle August 27 2015, 03:28:52 296
marm 7-segment August 27 2015, 03:23:37 219
marm 7-segment August 27 2015, 02:55:26 268
marm 7-segment August 27 2015, 02:30:53 241
shryu Sorting August 26 2015, 03:10:06 148