3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $lat = 48.274996066466; $lng = 14.246049094945; $intr = 0; $boost = array(0,1,4,5,16,17,20,21,64,65,68,69,80,81,84,85); for ($i=0; $i<8; $i++) { var_dump($intr<<8); $intr = ($intr<<8) + ($boost[($lng>>(28-$i*4))%16]<<1) + $boost[($lat>>(28-$i*4))%16]; //var_dump($i . " > " . $intr); }
Output for 4.3.0 - 7.1.0
int(0) int(0) int(0) int(0) int(0) int(0) int(0) int(1280)