php sample code. this class make random value