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("$lat => $long_deg_per100mil\n"); }
based on 34Y4Y
Output for 4.3.0 - 7.2.0
0 => 1.4456985285359 1 => 2.6757215596424 2 => -3.4740106173368 3 => -1.4603126119646 4 => -2.2117534423817 5 => 5.0965500606824 6 => 1.5056688887753 7 => 1.9176206467179 8 => -9.9360700523104 9 => -1.5867089361575 10 => -1.7229741189373 11 => 326.66000536847 12 => 1.7132093931365 13 => 1.5931496569149 14 => 10.572823898893 15 => -1.9030163624633 16 => -1.5096164745821 17 => -5.2539649314213 18 => 2.1894017075235 19 => 1.4622148030292 20 => 3.5426662032427 21 => -2.6394400181286 22 => -1.4457551639782 23 => -2.7132299864436 24 => 3.4082274311782 25 => 1.4585294868343 26 => 2.2347431567386 27 => -4.9486698970319 28 => -1.5018592542682 29 => -1.9326034043624 30 => 9.3723496899997 31 => 1.5804434070438 32 => 1.7329873472473 33 => -108.88951218601 34 => -1.7036874511105 35 => -1.5997687269965 36 => -11.297724633803 37 => 1.8887797066981 38 => 1.513703720699 39 => 5.4218520466328 40 => -2.1676653525432 41 => -1.4642368246117 42 => -3.6143790143346 43 => 2.604330547612 44 => 1.445925092494 45 => 2.7520236337138 46 => -3.3451464741482 47 => -1.4568647130722 48 => -2.2583946141501 49 => 4.809495639948 50 => 1.4981859317835 51 => 1.947975952629 52 => -8.8698177987623 53 => -1.5743500262042 54 => -1.7432550191099 55 => 65.33711997459 56 => 1.6944027871012 57 => 1.6065694225057 58 => 12.130364872397 59 => -1.8749002833408 60 => -1.5179324077521 61 => -5.6012761146609 62 => 2.1465228722264 63 => 1.4663794920714 64 => 3.6893501415073 65 => -2.5703415939875 66 => -1.4462083806719 67 => -2.7921646436769 68 => 3.2846108074993 69 => 1.4553176254234 70 => 2.2827328170229 71 => -4.6782919078981 72 => -1.494647349986 73 => -1.9637501061095 74 => 8.4190595610349 75 => 1.5684258606637 76 => 1.7537833077308 77 => -46.673028169296 78 => -1.6853500994814 79 => -1.6135551422888 80 => -13.096608613979 81 => 1.8613681230256 82 => 1.5223043899623 83 => 5.793451330701 84 => -2.1259537911808 85 => -1.4686436723562 86 => -3.7677987689663 87 => 2.5374246254724 88 => 1.4466051395636 89 => 2.8337192801397 90 => -3.2264754640656