Windows like most OS's now are both old IPV4 and new IPV6 aware.
Both have whats called a loopback address
IPV4 is 127.0.0.1
IPV6 is ::1
As WAMPServer and your browser are both on the same PC your remote ip address will be the your local ip address i.e. the loopback address
WAMPServer's Apache is configured to also be IPV4 and IPV6 aware.
Now its the browser that decides to use either IPV4 or IPV6, and I dont know what rules it uses to decide. So in your case for this connection it has decided to use the IPV6 network.
Therefore $_SERVER['REMOTE_ADDR']
is reporting ::1
If you want to prove this you can force the browser to use the IPV4 network by entering the url as http::/127.0.0.1
and you will see 127.0.0.1
reported as the remote ip address.