3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ip = "117.212.155.134"; $lookup = sprintf('http://api.ipinfodb.com/v3/ip-city/?key=12354&ip=%s', urlencode($ip)); echo $lookup;
Output for 4.3.0 - 7.1.0
http://api.ipinfodb.com/v3/ip-city/?key=12354&ip=117.212.155.134