3v4l.org

run code in 300+ PHP versions simultaneously
<?php return SQRT(POW(($x-512),2) + POW(($y-512),2))* (3*1852/512); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jCQkk
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'sqrt'
          1        INIT_FCALL                                               'pow'
          2        SUB                                              ~2      !0, 512
          3        SEND_VAL                                                 ~2
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        INIT_FCALL                                               'pow'
          7        SUB                                              ~4      !1, 512
          8        SEND_VAL                                                 ~4
          9        SEND_VAL                                                 2
         10        DO_ICALL                                         $5      
         11        ADD                                              ~6      $3, $5
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                         $7      
         14        MUL                                              ~8      $7, 10.8516
         15      > RETURN                                                   ~8
    3    16*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.07 ms | 1394 KiB | 17 Q