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 36335
3 vird 32942
4 JWvdVeer 31437
5 henrik 29625
6 Wim 29445
7 jth 25691
8 activekim 25435
9 vgadge 24787
10 linepogl 24564
11 scottholdren 23842
12 ToastyX 23137
13 lheurt 22000
14 Ock 17066
15 ralf 16790
16 nishanth 16721
17 jt2k 16605
18 eremit 16601
19 cecilozaur 16234
20 holyshart 15568
Recent Activity
Username Challenge Time ago Bytes Result
activekim 7-segment July 29 2014, 04:54:32 195
pkdq Fibonacci July 29 2014, 00:47:34 194
pkdq Fibonacci July 29 2014, 00:44:16 200
pkdq Fibonacci July 29 2014, 00:39:00 201
wechselbalg Vigenere Table July 28 2014, 18:22:00 79
wechselbalg Base Numbers July 28 2014, 15:00:50 169
wechselbalg Fibonacci July 28 2014, 11:45:47 52
wechselbalg Fibonacci July 28 2014, 09:49:41 53
wechselbalg Upper Case First July 27 2014, 20:49:20 78
wechselbalg Harshad Numbers July 27 2014, 17:25:20 63
pkdq Fibonacci July 27 2014, 00:32:42 270
pkdq Fibonacci July 27 2014, 00:29:21 267
pkdq Upper Case First July 27 2014, 00:14:19 359
pkdq Harshad Numbers July 26 2014, 23:53:53 272
pkdq Harshad Numbers July 26 2014, 23:39:47 476
mariusz00 CRC32 July 25 2014, 16:03:02 15
sashn Math Evaluator July 25 2014, 15:17:36 61
sashn Math Evaluator July 25 2014, 15:05:33 71
activekim Sierpinski Triangle July 25 2014, 03:16:52 102
activekim Sierpinski Triangle July 24 2014, 11:48:03 107