3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($lat=0; $lat <= 90; $lat++) { $long_deg_per100mil = rad2deg(100.0 / (3963.19 * cos($lat))); print("$lat => $long_deg_per100mil\n"); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
Branch analysis from position: 2
filename:       /in/7mjU5
function name:  (null)
number of ops:  20
compiled vars:  !0 = $lat, !1 = $long_deg_per100mil
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->17
    5     2    >   INIT_FCALL                                               'rad2deg'
          3        INIT_FCALL                                               'cos'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        MUL                                              ~4      $3, 3963.19
          7        DIV                                              ~5      100, ~4
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
    6    11        ROPE_INIT                                     4  ~9      !0
         12        ROPE_ADD                                      1  ~9      ~9, '+%3D%3E+'
         13        ROPE_ADD                                      2  ~9      ~9, !1
         14        ROPE_END                                      3  ~8      ~9, '%0A'
         15        ECHO                                                     ~8
    3    16        PRE_INC                                                  !0
         17    >   IS_SMALLER_OR_EQUAL                                      !0, 90
         18      > JMPNZ                                                    ~12, ->2
    7    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.1 ms | 1399 KiB | 17 Q