3v4l.org

run code in 500+ PHP versions simultaneously
<?php $L = 400; $T = 1.5; $KF = 0.75; $test = ($L + 2 * $KF - ($L/2 + 2*$Т))/2; echo $test;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ugdfl
function name:  (null)
number of ops:  13
compiled vars:  !0 = $L, !1 = $T, !2 = $KF, !3 = $test, !4 = $Т
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 400
    4     1        ASSIGN                                                       !1, 1.5
    5     2        ASSIGN                                                       !2, 0.75
    7     3        MUL                                                  ~8      !2, 2
          4        ADD                                                  ~9      !0, ~8
          5        DIV                                                  ~10     !0, 2
          6        MUL                                                  ~11     !4, 2
          7        ADD                                                  ~12     ~10, ~11
          8        SUB                                                  ~13     ~9, ~12
          9        DIV                                                  ~14     ~13, 2
         10        ASSIGN                                                       !3, ~14
    8    11        ECHO                                                         !3
    9    12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.6 ms | 1718 KiB | 12 Q