3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($lat=0; $lat <= 90; $lat++) { $long_deg_per100mil = rad2deg(100.0 / (3963.19 * cos($lat))); print("$long_deg_per100mil\n"); }
based on mqFe5
Output for 4.3.0 - 7.2.0
1.4456985285359 2.6757215596424 -3.4740106173368 -1.4603126119646 -2.2117534423817 5.0965500606824 1.5056688887753 1.9176206467179 -9.9360700523104 -1.5867089361575 -1.7229741189373 326.66000536847 1.7132093931365 1.5931496569149 10.572823898893 -1.9030163624633 -1.5096164745821 -5.2539649314213 2.1894017075235 1.4622148030292 3.5426662032427 -2.6394400181286 -1.4457551639782 -2.7132299864436 3.4082274311782 1.4585294868343 2.2347431567386 -4.9486698970319 -1.5018592542682 -1.9326034043624 9.3723496899997 1.5804434070438 1.7329873472473 -108.88951218601 -1.7036874511105 -1.5997687269965 -11.297724633803 1.8887797066981 1.513703720699 5.4218520466328 -2.1676653525432 -1.4642368246117 -3.6143790143346 2.604330547612 1.445925092494 2.7520236337138 -3.3451464741482 -1.4568647130722 -2.2583946141501 4.809495639948 1.4981859317835 1.947975952629 -8.8698177987623 -1.5743500262042 -1.7432550191099 65.33711997459 1.6944027871012 1.6065694225057 12.130364872397 -1.8749002833408 -1.5179324077521 -5.6012761146609 2.1465228722264 1.4663794920714 3.6893501415073 -2.5703415939875 -1.4462083806719 -2.7921646436769 3.2846108074993 1.4553176254234 2.2827328170229 -4.6782919078981 -1.494647349986 -1.9637501061095 8.4190595610349 1.5684258606637 1.7537833077308 -46.673028169296 -1.6853500994814 -1.6135551422888 -13.096608613979 1.8613681230256 1.5223043899623 5.793451330701 -2.1259537911808 -1.4686436723562 -3.7677987689663 2.5374246254724 1.4466051395636 2.8337192801397 -3.2264754640656