3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_skill = 5100; $mod = (-0.0611 * pow(floor($current_skill/1000),2)) + (0.0571 * pow(floor($current_skill/1000),1)) + 2.1548; echo $mod;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OBF4n
function name:  (null)
number of ops:  24
compiled vars:  !0 = $current_skill, !1 = $mod
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5100
    3     1        INIT_FCALL                                               'pow'
          2        INIT_FCALL                                               'floor'
          3        DIV                                              ~3      !0, 1000
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        SEND_VAL                                                 2
          8        DO_ICALL                                         $5      
          9        MUL                                              ~6      $5, -0.0611
         10        INIT_FCALL                                               'pow'
         11        INIT_FCALL                                               'floor'
         12        DIV                                              ~7      !0, 1000
         13        SEND_VAL                                                 ~7
         14        DO_ICALL                                         $8      
         15        SEND_VAR                                                 $8
         16        SEND_VAL                                                 1
         17        DO_ICALL                                         $9      
         18        MUL                                              ~10     $9, 0.0571
         19        ADD                                              ~11     ~6, ~10
         20        ADD                                              ~12     ~11, 2.1548
         21        ASSIGN                                                   !1, ~12
    4    22        ECHO                                                     !1
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.74 ms | 1395 KiB | 17 Q