Test the php function.