Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php error_reporting(E_ALL); echo "version:".GEOHASH_VERSION."\n"; echo(microtime(true)."..
Decoded Output download
<?php
error_reporting(E_ALL);
echo "version:".GEOHASH_VERSION."
";
echo(microtime(true)."
");
$geohash="wm3yr31d2524";
$coord = Geohash::decode($geohash);
print_r($coord);
var_dump($geohash,$coord);
$geohash = Geohash::encode($coord['latitude'],$coord['longitude']);
print_r(Geohash::encode(30.635780068114,104.03160111979,12));
var_dump($geohash);
echo(microtime(true)."
");
?>
Did this file decode correctly?
Original Code
<?php
error_reporting(E_ALL);
echo "version:".GEOHASH_VERSION."\n";
echo(microtime(true)."\n");
$geohash="wm3yr31d2524";
$coord = Geohash::decode($geohash);
print_r($coord);
var_dump($geohash,$coord);
$geohash = Geohash::encode($coord['latitude'],$coord['longitude']);
print_r(Geohash::encode(30.635780068114,104.03160111979,12));
var_dump($geohash);
echo(microtime(true)."\n");
Function Calls
error_reporting | 1 |
Stats
MD5 | ffc65b234f2cdac06029a74350e245f4 |
Eval Count | 0 |
Decode Time | 112 ms |