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 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Parse error: syntax error, unexpected ';' in /in/Isrmp on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected ';' in /in/Isrmp on line 11
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/Isrmp on line 11
Process exited with code 255.

preferences:
216.66 ms | 1395 KiB | 117 Q