3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($num=10; $num <= 100; $num += 10) { $f = (($num * 9) / 5) + 32; echo "$num converted to fahrenheit is $f\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
Branch analysis from position: 2
filename:       /in/iT7p0
function name:  (null)
number of ops:  15
compiled vars:  !0 = $num, !1 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 10
          1      > JMP                                                      ->12
    3     2    >   MUL                                              ~3      !0, 9
          3        DIV                                              ~4      ~3, 5
          4        ADD                                              ~5      ~4, 32
          5        ASSIGN                                                   !1, ~5
    4     6        ROPE_INIT                                     4  ~8      !0
          7        ROPE_ADD                                      1  ~8      ~8, '+converted+to+fahrenheit+is+'
          8        ROPE_ADD                                      2  ~8      ~8, !1
          9        ROPE_END                                      3  ~7      ~8, '%0A'
         10        ECHO                                                     ~7
    2    11        ASSIGN_OP                                     1          !0, 10
         12    >   IS_SMALLER_OR_EQUAL                                      !0, 100
         13      > JMPNZ                                                    ~11, ->2
    5    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.42 ms | 1393 KiB | 13 Q