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
jslee Happy Numbers July 30 2015, 16:29:12 251
jslee Harshad Numbers July 30 2015, 15:56:20 85
jslee Harshad Numbers July 30 2015, 15:55:44 85
jslee Harshad Numbers July 30 2015, 15:52:21 102
krzysiej Harshad Numbers July 30 2015, 10:57:03 57
krzysiej Harshad Numbers July 30 2015, 10:51:36 57
krzysiej Harshad Numbers July 30 2015, 10:46:10 57
shryu Primes July 30 2015, 02:45:15 83
shryu Happy Numbers July 30 2015, 02:38:32 183
shryu Happy Numbers July 30 2015, 02:36:20 182
marm LFSR July 30 2015, 00:06:14 88
shryu Primes July 29 2015, 02:56:43 95
shryu 99 Bottles July 29 2015, 02:50:58 277
shryu 99 Bottles July 29 2015, 02:49:01 276
shryu Primes July 29 2015, 02:41:28 87
krzysiej Alphabet Patterns July 28 2015, 11:40:07 210
krzysiej Alphabet Patterns July 28 2015, 11:31:15 210
krzysiej Alphabet Patterns July 28 2015, 11:24:52 210
krzysiej Alphabet Patterns July 28 2015, 11:21:54 210
krzysiej Math Evaluator July 28 2015, 09:31:21 57