3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inpx = 3484481.0943; //input X $inpy = 3144325.1033;//input Y $inpz = 4305103.1740;//input Z $dx = -2.0796; //delta X $dy = -0.3484; //delta Y $dz = 1.7009; //delta Z $rx = (0.05465*M_PI)/(3600*180); $ry = (-0.06718*M_PI)/(3600*180); $rz = (0.06143*M_PI)/(3600*180); $n = 1+0.0181/pow(10,6); $X84=$n*$inpx-$rz*$n*$inpy+$ry*$n*$inpz+$dx; $Y84=$rz*$n*$inpx+$n*$inpy-$rx*$n*$inpz+$dy; $Z84=-$ry*$n*$inpx+$rx*$n*$inpy+$n*$inpz+$dz; $X84 = round($X84,4); $Y84 = round($Y84,4); $Z84 = round($Z84,4); var_dump($x84, $Y84, $Z84);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $x84 in /in/vjvio on line 23 NULL float(3144324.7089) float(4305106.9208)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
40.59 ms | 401 KiB | 8 Q