Php: Correct setting of id

Signed-off-by: Frca <killerfrca@gmail.com>