You can also use the digital input with a simple serie resistor. Inside the PIC, you have protection diodes. But always great to have a voltage divider.

The false ground reference can also work. i prefer the serie resistor