Is there a way to ping an ip without c++?

I have set up a server browser for my game using php and the Varest plugin.
I want the player to be able to see the ping of each server in the list
Is there any way ping an Ip adress?

Well that’s simple, have a ping/latency variable on the server. Send out a signal with an attached timestamp, and when it reaches the other player, they should minus your timestamp from theirs, and send it back. This will tell you how long it took to reach them, A.K.A the latency, or ping as some would call it. Hopefully this is what you are trying to do.

Thanks for your response, unfortunately this will not work when a player hosts a game. It looks like I will have to learn some c++