3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_skill = 4000; $mod = (-0.0611 * pow(($current_skill/1000),2)) + (0.0571 * pow(($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/mpDbY
function name:  (null)
number of ops:  18
compiled vars:  !0 = $current_skill, !1 = $mod
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 4000
    3     1        INIT_FCALL                                               'pow'
          2        DIV                                              ~3      !0, 1000
          3        SEND_VAL                                                 ~3
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $4      
          6        MUL                                              ~5      $4, -0.0611
          7        INIT_FCALL                                               'pow'
          8        DIV                                              ~6      !0, 1000
          9        SEND_VAL                                                 ~6
         10        SEND_VAL                                                 1
         11        DO_ICALL                                         $7      
         12        MUL                                              ~8      $7, 0.0571
         13        ADD                                              ~9      ~5, ~8
         14        ADD                                              ~10     ~9, 2.1548
         15        ASSIGN                                                   !1, ~10
    4    16        ECHO                                                     !1
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.28 ms | 1394 KiB | 15 Q