3v4l.org

run code in 300+ PHP versions simultaneously
<?php //fscanf(STDIN, "%d %d", $n, $m); $n =15; $m = 0; $choshin_do = $n * 6; $tanshin_do = ($m * 30) + ($n * 0.5); if($choshin_do > $tanshin_do) { $do = $choshin_do - tanshin_do; } else { $do = $tanshin_do - $choshin_do; } echo ($do) . "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KpX9E
function name:  (null)
number of ops:  19
compiled vars:  !0 = $n, !1 = $m, !2 = $choshin_do, !3 = $tanshin_do, !4 = $do
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 15
    6     1        ASSIGN                                                   !1, 0
    7     2        MUL                                              ~7      !0, 6
          3        ASSIGN                                                   !2, ~7
    8     4        MUL                                              ~9      !1, 30
          5        MUL                                              ~10     !0, 0.5
          6        ADD                                              ~11     ~9, ~10
          7        ASSIGN                                                   !3, ~11
   10     8        IS_SMALLER                                               !3, !2
          9      > JMPZ                                                     ~13, ->14
   11    10    >   FETCH_CONSTANT                                   ~14     'tanshin_do'
         11        SUB                                              ~15     !2, ~14
         12        ASSIGN                                                   !4, ~15
         13      > JMP                                                      ->16
   13    14    >   SUB                                              ~17     !3, !2
         15        ASSIGN                                                   !4, ~17
   15    16    >   CONCAT                                           ~19     !4, '%0A'
         17        ECHO                                                     ~19
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.23 ms | 1394 KiB | 13 Q