3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ($i % 360 + 360) % 360;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Zi2Tk
function name:  (null)
number of ops:  5
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   MOD                                              ~1      !0, 360
          1        ADD                                              ~2      ~1, 360
          2        MOD                                              ~3      ~2, 360
          3        ECHO                                                     ~3
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.9 ms | 1392 KiB | 13 Q