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 50000
2 nubs 36335
3 vird 32942
4 JWvdVeer 31437
5 Wim 29445
6 jth 25691
7 linepogl 24564
8 scottholdren 23842
9 ToastyX 23137
10 lheurt 22000
11 henrik 21614
12 vgadge 17890
13 Ock 17066
14 ralf 16790
15 nishanth 16721
16 jt2k 16605
17 eremit 16601
18 cecilozaur 16234
19 holyshart 15568
20 helge 15351
Recent Activity
Username Challenge Time ago Bytes Result
activekim Kaprekars Constant April 15 2014, 07:25:08 126
activekim Fibonacci April 14 2014, 09:30:49 56
CyberKenny 99 Bottles April 13 2014, 22:36:32 312
CowJuice 99 Bottles April 13 2014, 22:31:20 413
Tacky93 Fibonacci April 13 2014, 22:20:57 97
Tacky93 Fibonacci April 13 2014, 22:19:43 101
Tacky93 Fibonacci April 13 2014, 22:18:01 96
CowJuice 99 Bottles April 13 2014, 22:13:33 364
CowJuice 99 Bottles April 13 2014, 22:10:26 368
Tacky93 99 Bottles April 13 2014, 22:03:48 309
Tacky93 99 Bottles April 13 2014, 22:03:32 309
CowJuice 99 Bottles April 13 2014, 22:02:05 396
Tacky93 99 Bottles April 13 2014, 22:01:15 327
Tacky93 99 Bottles April 13 2014, 21:47:11 333
Tacky93 phpGolf April 13 2014, 21:44:16 333
Tacky93 99 Bottles April 13 2014, 21:42:41 329
Tacky93 99 Bottles April 13 2014, 21:41:09 331
CyberKenny 99 Bottles April 13 2014, 21:40:42 369
Tacky93 99 Bottles April 13 2014, 21:25:10 649
CyberKenny 99 Bottles April 13 2014, 21:21:34 377