3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stars = 5; $max = 4.3961873; $score = 3.0593812; echo ($max/$stars), "\n"; echo ($score/$stars), "\n"; echo $stars % (($max/$stars) * ($score/$stars));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eKBBG
function name:  (null)
number of ops:  15
compiled vars:  !0 = $stars, !1 = $max, !2 = $score
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5
    5     1        ASSIGN                                                   !1, 4.39619
    6     2        ASSIGN                                                   !2, 3.05938
    8     3        DIV                                              ~6      !1, !0
          4        ECHO                                                     ~6
          5        ECHO                                                     '%0A'
    9     6        DIV                                              ~7      !2, !0
          7        ECHO                                                     ~7
          8        ECHO                                                     '%0A'
   11     9        DIV                                              ~8      !1, !0
         10        DIV                                              ~9      !2, !0
         11        MUL                                              ~10     ~8, ~9
         12        MOD                                              ~11     !0, ~10
         13        ECHO                                                     ~11
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.29 ms | 1393 KiB | 13 Q