Add http://www.imagemagick.org to the mix, and you can do some nice things with graphics too, at the cost of a bit of extra processing time.
I guess it could work for a relatively static game, like a turn based thing or a point and click adventure game. I actually had an idea for an adventure game in PHP (which I'm not going to share, as I think it's brilliant and it's mine mine MINE! :-P ). Hehe...anyway. You could always combine it with some Java if you need more interaction on the players side, the down side being that the players will actually need to have a browser that supports Java.
As a side note. If the layout of the game is compact enough, you could make it so it can be played on PDAs and mobile phones that have web browsers.
Ragnar
I guess it could work for a relatively static game, like a turn based thing or a point and click adventure game. I actually had an idea for an adventure game in PHP (which I'm not going to share, as I think it's brilliant and it's mine mine MINE! :-P ). Hehe...anyway. You could always combine it with some Java if you need more interaction on the players side, the down side being that the players will actually need to have a browser that supports Java.
As a side note. If the layout of the game is compact enough, you could make it so it can be played on PDAs and mobile phones that have web browsers.
Ragnar