For the past few days I've been working on learning php functions, but I was looking to make a game using php, generally it would be simple, with simple turn-based fight system and the following: 
-A money system 
-Health with some type of regeneration system 
-and some sort of admin control 
Are there any good tutorials to teach me how to do some of this stuff?