added test PHP code